On 4 Mar 2008, at 14:05, Axel Simon wrote:
> autoconf picks up all its macro
> definitions from /usr/share/autoconf on a system where autoconf is
> installed in /usr/bin. I found that AC_MSG_ERROR is re-directed in
> autoconf/general.m4 to AS_ERROR:
>
> m4_copy([AS_ERROR], [AC_MSG_ERROR])
>
> Then AS_ERROR is defined in m4sugar/m4sh.m4 as:
>
> # AS_ERROR(ERROR, [EXIT-STATUS = 1])
> # ----------------------------------
> m4_define([AS_ERROR],
> [{ AS_MESSAGE([error: $1], [2])
> AS_EXIT([$2]); }[]dnl
> ])# AS_ERROR
>
> You will probably find these two definitions on your system.
> IIRC, I had the same problem as you on a PPC Mac and assumed that
> separate installations of the tool probably interfered with each
> other.
It does not seem to be the case, because the bug persists even if I
move /usr/share/autoconf (see snippet below).
Hans Aberg
--------
# mv /usr/share/autoconf /usr/share/autoconf-bkp
# autoreconf
configure.ac:101: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
# rm -rf autom4te.cache/ aclocal.m4 configure
# aclocal
# autoreconf
configure.ac:101: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
--------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel