* Gary V. Vaughan wrote on Thu, Apr 21, 2005 at 02:20:25PM CEST: > Ralf Wildenhues wrote: > > > > Actually, if you > > don't need to support older Autoconf versions, it should use > > `autoreconf' instead of calling the autotools individually. > > If you want only one instance of the libtool.m4 macros and can allow use > > of latest autotools only, you should create a m4 directory, add > > ACLOCAL_AMFLAGS = -I m4 > > to toplevel Makefile.am, put all .m4 files there > > (autoreconf calls the autotools with the right options then) > > [and for a future libtoolize version > > AC_CONFIG_MACRO_DIR([m4]) > > to toplevel configure.ac]. > > Actually, you can do even better than that when using libltdl. To avoid > duplication of configaux files and m4 macros between libltdl and your parent > project then in $top_srcdir/Makefile.am: > > ACLOCAL_AMFLAGS = -I libltdl/m4 > > in $top_srcdir/configure.ac: > > AC_CONFIG_AUX_DIR([libltdl/config]) > AC_CONFIG_MACRO_DIR([libltdl/m4])
Sure. But then you need to modify libltdl/Makefile.am and libltdl/configure.ac as well. This interferes with libtoolize --ltdl overwriting these changes. Note the bug reporter uses 1.5.x of Libtool. Regards, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool