Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes:

>>>> "Andreas" == Andreas Schwab <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."


Reply via email to