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 00:51:07 +0100


On 3 Mar 2008, at 23:29, Axel Simon wrote:

Since it's on line 101, it has to be this call:

if test $HC = ghc-not-found; then
 AC_MSG_ERROR([
Could not find GHC!  This is the only supported compiler.
You need GHC 6.4 or later.])
fi

You could join the 'Could not find...' line with the previous line and see if the error goes away. The indentation and quoting is identical to other macros that are distributed with autoconf/automake.

If I do that, I get a whole host of new errors, and the first is AM_INIT_AUTOMAKE. SO I installet latest automake to be sure, from 1.10 to 1.10.1. Still, same error.

But two autoconf in a row (on a new darcs download) works.

  HAns Aberg


---- Snippet ----
# /usr/local/bin/autoconf
configure.ac:26: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:64: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:101: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:136: error: possibly undefined macro: AC_DEFINE

# /usr/local/bin/autoconf
#
-----------------





reply via email to

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