From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: preprocessing Makefile Date: Sat, 21 Jul 2007 01:30:31 +0200 Message-ID: <87veceslew.fsf@ambire.localdomain> References: <873azkzp71.fsf@ambire.localdomain> <878x9au2g3.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184974267 22166 80.91.229.12 (20 Jul 2007 23:31:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2007 23:31:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: alserkli@inbox.ru Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 21 01:31:06 2007 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.50) id 1IC1w9-0004TI-Hp for ged-emacs-devel@m.gmane.org; Sat, 21 Jul 2007 01:31:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IC1w8-00052r-RT for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2007 19:31:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IC1w6-00052Z-5Q for emacs-devel@gnu.org; Fri, 20 Jul 2007 19:31:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IC1w4-00052A-El for emacs-devel@gnu.org; Fri, 20 Jul 2007 19:31:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IC1w4-000527-8m for emacs-devel@gnu.org; Fri, 20 Jul 2007 19:31:00 -0400 Original-Received: from smtp-out1.libero.it ([212.52.84.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IC1w3-0001f0-Od for emacs-devel@gnu.org; Fri, 20 Jul 2007 19:31:00 -0400 Original-Received: from localhost (172.31.0.48) by smtp-out1.libero.it (7.3.120) id 4688F31701CC114D for emacs-devel@gnu.org; Sat, 21 Jul 2007 01:30:58 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out4.libero.it ([172.31.0.40]) by localhost (asav-out7.libero.it [192.168.32.35]) (amavisd-new, port 10024) with ESMTP id UDtrYxSLFXGF for ; Sat, 21 Jul 2007 01:30:58 +0200 (CEST) Original-Received: from outrelay08.libero.it (192.168.32.103) by smtp-out4.libero.it (7.3.120) id 4611FEBC08172BBD for emacs-devel@gnu.org; Sat, 21 Jul 2007 01:30:58 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAFbioEaXFSCK/2dsb2JhbACBTA Original-Received: from ppp-138-32.21-151.libero.it (HELO ambire.localdomain) ([151.21.32.138]) by OutRelay-b08.libero.it with ESMTP; 21 Jul 2007 01:30:57 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1IC1vb-0007TU-Ky; Sat, 21 Jul 2007 01:30:31 +0200 In-Reply-To: <878x9au2g3.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sat\, 21 Jul 2007 00\:37\:16 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:75202 Archived-At: () Thien-Thi Nguyen () Sat, 21 Jul 2007 00:37:16 +0200 to be "$ac_top_srcdir" well, turns out even ac_top_srcdir yields nothing (for me). w/ further mucking, i was able to get these variables set by adding the block: _ACEOF echo "configuration=\"$configuration\"" >>$CONFIG_STATUS echo "canonical=\"$canonical\"" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF echo "HEY: $srcdir" echo "HEY: $configuration" echo "HEY: $canonical" between the "# now get this" comment paragraph and the undefs= line (without the indentation). to check, i turned on command display immediately prior to the cpp commands further down (~L24800) in two places, like so: set -x $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ when i do ./config.status --recheck, i see: HEY: /home/ttn/build/GNU/emacs HEY: i686-pc-linux-gnu HEY: i686-pc-linux-gnu creating src/epaths.h src/epaths.h is unchanged creating lib-src/Makefile + gcc -E -Uhome -Uttn -Ubuild -UGNU -Uemacs -Ui686 -Upc -Ulinux -Ugnu -Ui686 -Upc -Ulinux -Ugnu -I. -I/home/ttn/build/GNU/emacs/src -D_BSD_SOURCE junk.c + sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' + cat junk1.c junk2.c + rm -f junk.c junk1.c junk2.c + chmod 444 Makefile.new + mv -f Makefile.new Makefile creating src/Makefile + gcc -E -Uhome -Uttn -Ubuild -UGNU -Uemacs -Ui686 -Upc -Ulinux -Ugnu -Ui686 -Upc -Ulinux -Ugnu -I. -I/home/ttn/build/GNU/emacs/src -D_BSD_SOURCE junk.c + sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' + cat junk1.c junk2.c + rm -f junk.c junk1.c junk2.c + chmod 444 Makefile.new + mv -f Makefile.new Makefile which shows the undefs being generated. yuk! now i'm feeling the nausea from autoconf (1.1xx) for vms memories surrounding me.... time for bed. thi