emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preprocessing Makefile


From: Thien-Thi Nguyen
Subject: Re: preprocessing Makefile
Date: Sat, 21 Jul 2007 01:30:31 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Thien-Thi Nguyen <address@hidden>
() 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]