[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: aclocal 1.8 no longer loads overridden macros
From: |
Gary V. Vaughan |
Subject: |
Re: aclocal 1.8 no longer loads overridden macros |
Date: |
Wed, 17 Dec 2003 15:59:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
-----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 <address@hidden>
~ 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:address@hidden:/cvs-2003-09-16/m4 co m4
:-)
Cheers,
Gary.
- --
Gary V. Vaughan ())_. address@hidden,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-----