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: Axel Simon
Subject: Re: Bug: "possibly undefined macro: AC_MSG_ERROR"
Date: Mon, 3 Mar 2008 23:29:24 +0100

On Mar 3, 2008, at 23:14, Hans Aberg wrote:
I tried running aclocal first (on a new darcs download), but it did not help. So the two sequences I found was 'autoreconf -vi' or (I think) autoconf, in each case followed by 'autoreconf -vi'.

  Hans Aberg


--- Snippet ----
# aclocal

# autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/bin/autoconf
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


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.

Axel.





reply via email to

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