autoconf
[Top][All Lists]
Advanced

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

Re: m4 macro and autoreconf


From: Ralf Wildenhues
Subject: Re: m4 macro and autoreconf
Date: Wed, 28 Dec 2005 09:44:15 +0100
User-agent: Mutt/1.5.11

Hi Vincent,

* Vincent Torri wrote on Sat, Dec 24, 2005 at 04:27:15PM CET:
> 
> i have an autogen.sh script that launches autoreconf (only)
> 
> i want to use an m4 macro, which in a file in the m4/ subdirectory of my 
> source tree.
> 
> in configure.ac, i have put : 
> 
> AC_CONFIG_MACRO_DIR(m4)

Which is fine.

> and later i've used the m4 macro.
> 
> but autoconf always tells me that that macro is not defined:

> Is it possible to give an option to autoreconf that is passed to aclocal ? 
> (i.e. passing -I m4). Or is there another solution ?

Yes.  Put
  ACLOCAL_AMFLAGS = -I m4
in your toplevel Makefile.am as well.

Cheers,
Ralf




reply via email to

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