bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: "possibly undefined macro: AC_MSG_ERROR"


From: Hans Aberg
Subject: Re: Bug: "possibly undefined macro: AC_MSG_ERROR"
Date: Tue, 4 Mar 2008 14:26:18 +0100


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.

So if this is the case, it is clearly a bug in autoconf.

So can some on the Bug-Autconf list tell how this is checked?

  Hans Aberg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]