From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: alserkli@inbox.ru
Cc: emacs-devel@gnu.org
Subject: Re: preprocessing Makefile
Date: Sat, 21 Jul 2007 01:30:31 +0200 [thread overview]
Message-ID: <87veceslew.fsf@ambire.localdomain> (raw)
In-Reply-To: <878x9au2g3.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sat\, 21 Jul 2007 00\:37\:16 +0200")
() Thien-Thi Nguyen <ttn@gnuvola.org>
() 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 '/^[ \f]*$/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 '/^[ \f]*$/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
next prev parent reply other threads:[~2007-07-20 23:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 9:41 preprocessing Makefile Alexander Klimov
2007-07-19 10:02 ` Thien-Thi Nguyen
2007-07-19 21:21 ` Richard Stallman
2007-07-20 22:37 ` Thien-Thi Nguyen
2007-07-20 23:30 ` Thien-Thi Nguyen [this message]
2007-07-23 8:36 ` Alexander Klimov
2007-07-23 13:54 ` Alexander Klimov
2008-03-11 13:48 ` Alexander Klimov
2008-07-01 3:16 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87veceslew.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=alserkli@inbox.ru \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).