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
Alexandre Duret-Lutz <adl@src.lip6.fr> writes:
>>>> "Andreas" == Andreas Schwab <schwab@suse.de> writes:
>
> Andreas> With aclocal 1.8 you no longer get overridden standard
> Andreas> autoconf macros loaded from local *.m4 files.
>
> I could not reproduce this (tried to redefine AC_PROG_CC
> successfully). Can you send detailed instructions?
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 NÃrnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."