[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: |
Andreas Schwab |
Subject: |
Re: aclocal 1.8 no longer loads overridden macros |
Date: |
Sat, 13 Dec 2003 19:31:16 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) |
Alexandre Duret-Lutz <address@hidden> writes:
>>>> "Andreas" == Andreas Schwab <address@hidden> 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, address@hidden
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."