From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: -DVERSION for emacsclient Date: Thu, 23 Nov 2006 03:02:38 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164247376 17571 80.91.229.2 (23 Nov 2006 02:02:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2006 02:02:56 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 23 03:02:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gn3vR-0007Gj-BY for ged-emacs-devel@m.gmane.org; Thu, 23 Nov 2006 03:02:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gn3vR-0004ul-0q for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 21:02:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gn3vG-0004u6-0h for emacs-devel@gnu.org; Wed, 22 Nov 2006 21:02:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gn3vD-0004tu-LW for emacs-devel@gnu.org; Wed, 22 Nov 2006 21:02:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gn3vD-0004tr-FH for emacs-devel@gnu.org; Wed, 22 Nov 2006 21:02:39 -0500 Original-Received: from [64.233.166.182] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gn3vD-00056Q-0s for emacs-devel@gnu.org; Wed, 22 Nov 2006 21:02:39 -0500 Original-Received: by py-out-1112.google.com with SMTP id u77so207453pyb for ; Wed, 22 Nov 2006 18:02:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PAXRlVJwsMCcrjNjv/wvBrpgaFp+2vxHaB9LCiRYM2BmvQAqNEBTw6NlxYtpgZ5pudndZGXAJ9OpM52biD4cdKIuDc1PXndKDjlp60Ry7C4ZL4IY6j1F4ps85PQgC/WG1xLPxeLdZkIcut6xILtzA12SPKjrZRLTxXkGo8onUKQ= Original-Received: by 10.35.82.16 with SMTP id j16mr2338966pyl.1164247358472; Wed, 22 Nov 2006 18:02:38 -0800 (PST) Original-Received: by 10.35.95.18 with HTTP; Wed, 22 Nov 2006 18:02:38 -0800 (PST) Original-To: "Emacs Devel" Content-Disposition: inline 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:62707 Archived-At: emacsclient.c includes #ifndef VERSION #define VERSION "unspecified" #endif and, on non-Windows environments, it is compiled with -DVERSION="\"${version}\"" Is there any portable way to extract the version number from lisp/version.el when executing lib-src/makefile (or when running nt/configure.bat)? The other option is hardcoding the version number in configure.bat or lib-src/Makefile.w32-in, as it is hardcoded now on nt/emacs.rc. But then admin/admin.el should have to be modified, shouldn't it? /L/e/k/t/u