[Top][All Lists]

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

Re: autoreconf does not pass -I option to aclocal

From: Clinton Roy
Subject: Re: autoreconf does not pass -I option to aclocal
Date: Wed, 22 Oct 2008 23:14:54 +1000

Hey Eric,

On Wed, Oct 22, 2008 at 9:55 PM, Eric Blake <address@hidden> wrote:

> When running aclocal, autoreconf uses the -I flags learned from
> Makefile.am's ACLOCAL_AMFLAGS, in preference to the command line
> arguments; the command line argument -I is only passed to autoconf and
> autoheader.

> Perhaps this is a bug, but no one has been bothered by it
> enough to submit a patch.

I don't think it's right to modify Makefile.am just for a particular
system setup that has a slightly wonky m4 directory, and
/opt/share/aclocal isn't all that wonky in my opinion.

I could tell people to do aclocal -I /opt/share/aclocal ; autoheader ;
autopoint ; libtoolize ; autoconf ; automake as well, but hopefully
we've all moved on from there now.

ACLOCAL='aclocal -I /opt/share/aclocal' autoreconf seems to work, but
seems suboptimal given that autoreconf has a -I option.

So, I think it's a bug, and I'll submit a patch.

Clinton Roy
CSIRO - Robotics Platform Engineer
Autonomous Systems Lab

humbug.org.au  - Brisbane Unix Group
azure.humbug.org.au/~croy/blog - Blog
flickr.com/photos/croy/ - Photos

reply via email to

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