libtool/bootstrap
Gary V. Vaughan e927e43114 libtool.m4 now contains a version of the code that used to run
from ltconfig, so that ltmain.sh and then libtool are
generated at configure time.

* Makefile.am:  Don't generate ltmain.sh or ltconfig anymore.
* bootstrap: ltconfig is no more!
* configure.in: Call AC_PROG_LIBTOOL directly.
(AC_OUTPUT): Generate tmain.sh.
* libtool.m4: Don't build an argument list for ltconfig.
(_LT_AC_LTCONFIG_HACK):  Refactoring of the former contents of
ltconfig.in to take advantage of the m4 macros from autoconf.
* ltmain.in: Don't do a version check against ltconfig.
* tests/assign.test: Remove reference to ltconfig.
* tests/hardcode.test: ditto.
* tests/sh.test: ditto.
2000-09-06 17:31:09 +00:00

31 lines
636 B
Bash
Executable File

#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
# this is not meant to go into the distributions
rm -f acinclude.m4
ln -s libtool.m4 acinclude.m4
# fake the libtool scripts
touch ltmain.sh
touch libtoolize
aclocal
automake --gnu --add-missing --copy
autoconf
for sub in libltdl demo depdemo mdemo cdemo; do
cd $sub
rm -f acinclude.m4
cat ../libtool.m4 > acinclude.m4
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
aclocal
test "$sub" = libltdl && autoheader
automake --gnits --add-missing
autoconf
cd ..
done
rm -f ltmain.sh libtoolize
exit 0