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