[Top][All Lists]

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

Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf

From: Mike Frysinger
Subject: Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf
Date: Wed, 28 Jan 2009 14:21:04 -0500
User-agent: KMail/1.10.4 (Linux/2.6.28; KDE/4.1.4; x86_64; ; )

On Wednesday 28 January 2009 05:08:45 Gonsolo wrote:
> Mike Frysinger schrieb:
> > On Monday 26 January 2009 07:48:37 Gonsolo wrote:
> >> 1. Get new package
> >> 2. autoreconf -i
> >>
> >> Ok.
> >>
> >> 3. Add ACLOCAL_AMFLAGS= -I m4 to Makefile.am as libtoolize suggests
> >> 4. Remove all generated files
> >> 5. Run autoreconf -i again
> >>
> >> Breaks with: aclocal can't find directory "m4"
> >
> > well, if you dont have a "m4" directory, then it doesnt make much sense
> > to add an -I for it
> Well, before running autoreconf, I don't have one. But autoreconf calls
> libtoolize which adds the "m4" directory.

eh ?  it doesnt add a m4 dir for me.  maybe you added 
AC_CONFIG_MACRO_DIR([m4]) to your configure.ac ?  in which case, you need to 
make sure the dir exists first otherwise using that doesnt make much sense.

> Libtoolize also complains that I should add the directory.

it's a suggestion, not a compliant.  the behavior you're describing sounds 
correct to me.  i imagine you'd prefer libtoolize to shut the hell up if there 
arent any actual problems.

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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