bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] gnulib module for uintmax_t? (and best practice questio


From: Bruno Haible
Subject: Re: [Bug-gnulib] gnulib module for uintmax_t? (and best practice questions)
Date: Mon, 18 Oct 2004 17:23:29 +0200
User-agent: KMail/1.5

James Youngman wrote:
> If I manually use "aclocal -I . -I gnulib/m4" then gl_FUINC_ALLOCA
> does get substituted, but if I then touch configure.in and run "make"
> in the build directory, the automatic invocation of "aclocal" doesn't
> include those "-I" options.

Adding the line
  ACLOCAL_AMFLAGS = -I gnulib/m4
(or                 -I ../gnulib/m4   from another subdirectory)
to your main Makefile.am should help.

> 2. Is there a better way of making use of gnulib?

Having two different m4 directories is harmless, thanks to the
ACLOCAL_AMFLAGS trick.

Having two different config.h files is annoying. gnulib-tool --import
creates a ,m4 file with a few m4 macros that you can use from your main
configure.ac file. So there's no need for two configure.ac-s or for
two config.h-s.

Bruno





reply via email to

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