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: Sat, 6 Aug 2005 17:41:14 +0200
User-agent: Mutt/1.4.1i

Hello.

On Fri, Aug 05, 2005 at 10:47:52AM -0400, Sam Steingold wrote:
> Using Stepan Kasal's advice (adjusting configure.in for _really_
> integrated sub-packages and separating out not-really integrated
> ones),

I gave you two incompatible advices.  The first one, which you followed,
implied that each of the remaining configure.in's would have its own
aclocal.m4.

So for _each_ of the remaining configre.in's, you should do
        cd to the dir of that configure.in
        aclocal
        autoconf

> $ aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4

This command examines only ./configure.in.  It doesn't examine the whole
subtree.  In particular, it doesn't know about modules/regexp/configure.in.

Hope this explains the cause of the problem.

I know, the aclocal.m4 files are redundant, and it would be nice to have
only one.  But this is what aclocal from Automake 1.9 supports OOTB.

Automake 1.10 will bring "aclocal --include", which can be easily used
to achieve what you want.  See my second advice, if you want to use this
technology before it is released.

Have a nice day,
        Stepan




reply via email to

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