This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: aclocal 1.8 no longer loads overridden macros
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Schwab wrote:
| Here is a testcase:
|
| $ cat configure.ac
| AC_INIT([aclocal-test], [0])
| AC_PROG_CC
| AC_OUTPUT
| $ cat prog-cc.m4
| undefine([AC_PROG_CC])
| AC_DEFUN([AC_PROG_CC], [echo [AC_PROG_CC] dummy])
| $ aclocal -I .
| $ cat aclocal.m4
| cat: aclocal.m4: No such file or directory
|
| The problem is caused by the call to undefine, this loses the traced
| attribute.
You might try a CVS version of GNU m4... from the ChangeLog:
2001-10-10 Gary V. Vaughan <gary@gnu.org>
~ The trace semantics now attach the trace bit to a symbol name.
~ For as long as a traceon(`foo') is active, calls to foo will be
~ traced regardless of intervening undefines or module unloads.
In anticipation of your next question:
$ export CVS_RSH=ssh
$ cvs -d :ext:anoncvs@subversions.gnu.org:/cvs-2003-09-16/m4 co m4
:-)
Cheers,
Gary.
- --
Gary V. Vaughan ())_. gary@{lilith.warpmail.net,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/4H1zFRMICSmD1gYRAsfkAJ0TC2Z40q7drFalKMYv9W0vV3dBOACaAjxs
VBlaamRDhskFw3O5dKQZZuU=
=CPLg
-----END PGP SIGNATURE-----