automake
[Top][All Lists]
Advanced

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

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE


From: Stepan Kasal
Subject: Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE
Date: Sun, 7 Aug 2005 09:52:33 +0200
User-agent: Mutt/1.4.1i

Hello.

On Sat, Aug 06, 2005 at 10:51:28PM -0400, Sam Steingold wrote:
> ./configure.ac is the ad hoc concatenation of the the sub-package
> configures, including modules/regexp/configure.in.
> specifically, it contains
> gl_INCLUDED_REGEX([regex.c])
> and src/m4/regex.m4 defines it and calls AC_CHECK_HEADERS_ONCE &c.

Hah!  An idea:
Do I understand correctly that regex.m4 is in fact located at
        modules/regexp/src/m4/regex.m4 ?

But when you run
     $ aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4

it looks only to src/m4/regex.m4 (relative to the current directory),
so it cannot find the definition of gl_INCLUDED_REGEX?

Could you try to add option --verbose to your aclocal call?
Does it say something like:

aclocal: found macro gl_INCLUDED_REGEX in .../modules/regexp/src/m4/regex.m4: 53

Anyway, --verbose option could help you to debug your problem.

Stepan




reply via email to

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