Hello,
I added the --ltdl flag and it works now. Thank you very much. I have few questions:
- autoreconf: I would like to know what to use it for. Usually, I just do one bootstrap when I check out the code from cvs and then automake does everything correctly when I modified a Makefile.am or the configure.ac. All the correct commands are called by just using make. The only problem is when I add a folder, I have to rerun bootstrap. So, when I add a folder, instead of doing bootstrap maybe I should do autoreconf. Am I wrong ?
- one instance of libtool.m4: I have to say that I don't really understand what you are talking about. I am not familiar with m4 macros. So, I don't really understand the aim of doing the modifications you propose.
- ltdl: I guess I can remove libltdl files from cvs now it is generated every time.
Thank you very much again,
Thomas
Ralf Wildenhues wrote:
* 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
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool