Alexandre Duret-Lutz <[EMAIL PROTECTED]> wrote:
> 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?
"Gary V. Vaughan" <[EMAIL PROTECTED]> writes:
> You might try a CVS version of GNU m4... from the ChangeLog:
>
> 2001-10-10 Gary V. Vaughan <[EMAIL PROTECTED]>
>
> ~The trace semantics now attach the trace bit to a symbol name.
> ~For as long as a traceon(`foo') is active, calls
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes:
> I think we can't do anything about this in aclocal, apart from
> documenting this new incompatibility. Since we are obviously
> relying on --trace more and more, maybe we should prohibit all
> macros that can affect the trace attribute.
I agree.
-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.m
>>> "Andreas" == Andreas Schwab <[EMAIL PROTECTED]> writes:
Andreas> 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 *.
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
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
>>> "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?
Andre
With aclocal 1.8 you no longer get overridden standard autoconf macros
loaded from local *.m4 files. Presumably this is because autom4te always
looks in autoconf/autoconf.m4f first, thus the file that contains the
replacement for a standard macro is not considered for this macro any
more.
Andreas