From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: syncing Emacs from sources maintained elsewhere Date: Sat, 29 Jan 2011 12:04:18 +0200 Message-ID: <83sjwcgh5p.fsf@gnu.org> References: <4D2BA939.5090903@cs.ucla.edu> <4D34A88F.4080400@cs.ucla.edu> <4D35D842.5030003@cs.ucla.edu> <83wrlvztda.fsf@gnu.org> <4D3C91E2.3010007@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1296295445 19425 80.91.229.12 (29 Jan 2011 10:04:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Jan 2011 10:04:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 29 11:04:01 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pj7ey-0003bd-U1 for ged-emacs-devel@m.gmane.org; Sat, 29 Jan 2011 11:04:01 +0100 Original-Received: from localhost ([127.0.0.1]:52905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pj7ey-0001Zm-AH for ged-emacs-devel@m.gmane.org; Sat, 29 Jan 2011 05:04:00 -0500 Original-Received: from [140.186.70.92] (port=35560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pj7eq-0001ZH-Gc for emacs-devel@gnu.org; Sat, 29 Jan 2011 05:03:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pj7ep-000070-E7 for emacs-devel@gnu.org; Sat, 29 Jan 2011 05:03:52 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pj7ep-00006c-7i for emacs-devel@gnu.org; Sat, 29 Jan 2011 05:03:51 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LFS005003VRLY00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 29 Jan 2011 12:03:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.46.39]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LFS004BF3YBDGB0@a-mtaout22.012.net.il>; Sat, 29 Jan 2011 12:03:49 +0200 (IST) In-reply-to: <4D3C91E2.3010007@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135199 Archived-At: > Date: Sun, 23 Jan 2011 12:38:58 -0800 > From: Paul Eggert > CC: emacs-devel@gnu.org, bug-gnulib > > > . Why are PACKAGE and VERSION needed, and where are they used? > > That's another Automake thing. PACKAGE should be "emacs", > and VERSION "24.0.50". VERSION is used in some auxiliary > programs like lib-src/etags.c. Emacs doesn't use PACKAGE > anywhere now, but perhaps it will someday. Looks like introduction of VERSION into config.in might warrant a suitable change in admin/admin.el, and perhaps also in src/emacs.c. Until now, VERSION for etags.c etc. was determined by the `version' Make variable in lib-src/Makefile.in, which was set by the configure script by editing emacs.c with Sed. I see a warning in the current configure script about mismatch between `version' gleaned from emacs.c and VERSION set by the configure script itself, but perhaps we should simply use VERSION set by configure. For now, I added VERSION to nt/config.nt, but ifdef'ed it away, pending the decision regarding use of VERSION in config.h.