libtool/bootstrap
Gary V. Vaughan d6e6eab7ac * Makefile.am (EXTRA_DIST): The bootstrap script should be
distributed with libtool.
2000-09-14 20:51:43 +00:00

31 lines
611 B
Bash
Executable File

#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
rm -f acinclude.m4
ln -s libtool.m4 acinclude.m4
# fake the libtool scripts
touch ltmain.sh
touch ltconfig
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 ltconfig libtoolize
exit 0