libtoolize in .bootstrap
Marc Glisse
marc.glisse at inria.fr
Tue Apr 19 22:25:30 CEST 2011
Hello,
I had a nasty surprise mixing newer autotools with the ltmain.sh in gmp
(the libtool it produced was broken enough to not even answer --version).
Running libtoolize to replace ltmain.sh fixed it.
.bootstrap mentions libtoolize as a FIXME, and it seems that at least for
me it would be better to remove ltmain.sh from the repository and add a
libtoolize -c call in the sequence (anywhere but the last position seems
fine). It only produces the following warnings:
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
autoreconf doesn't seem usable, as by default it won't call libtoolize,
and with -i it calls libtoolize -i which overwrite config.guess.
I know almost nothing about autotools so I don't want to touch anything
and break it.
--
Marc Glisse
More information about the gmp-devel
mailing list