bug-libtool
[Top][All Lists]
Advanced

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

Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf


From: Gonsolo
Subject: Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf
Date: Wed, 28 Jan 2009 11:08:45 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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. Libtoolize also complains that I should add the directory. The problem is, as far as I can tell, aclocal is run a few times, including one time _before_ libtoolize.
Since the "m4" is specified, it fails.
So it is impossible to satisfy both aclocal and libtoolize (both run from within autoreconf)? I thought, running autoreconf on a pristine package would do the right thing?

g





reply via email to

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