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: Mon, 3 Mar 2008 23:00:06 +0100

On 3 Mar 2008, at 21:32, Ralf Wildenhues wrote:

This is what I get when I check out the darcs repo and run 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

If however I run aclocal first, or just run 'autoreconf -vi', then I do
not get any errors.

I can also run 'autoreconf -vi'; error on the first:
# 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

# 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
autoreconf: running: /usr/local/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'

I will try yet another.

  Hans Aberg






reply via email to

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