[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoreconf and aclocal options (-I, --ac-dir)
From: |
Vincent Torri |
Subject: |
Re: autoreconf and aclocal options (-I, --ac-dir) |
Date: |
Mon, 20 Mar 2006 20:35:43 +0000 (UTC) |
put
AC_CONFIG_MACRO_DIR(m4)
in configure.(in/ac) after AC_INIT and before AM_INIT_AUTOMAKE (it does
not work for me if I put it after AM_INIT_AUTOMAKE)
and in the toplevel Makefile.am, put :
ACLOCAL_AMFLAGS = -I m4
It works for me that way :)
Vincent
On Mon, 20 Mar 2006, Chris Pickett wrote:
> Hi,
>
> I looked at autoreconf and it doesn't pass the dirs of the -I flag on to
> aclocal. The only way for aclocal to get the dirs for -I and --ac-dir
> (which, ok, is not for external usage) is by matching
> ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*) in a Makefile.
>
> Assuming this is intentional, perhaps the autoreconf documentation can
> be patched as I attached. This saves the developer that doesn't want to
> run aclocal explicitly from having to dig through autoreconf and also
> autoconf.info and automake.info.
>
> Cheers,
> Chris
>
>