libtool/bootstrap
Gary V. Vaughan 25af77ddc4 * libtoolize.in (files): Don't try to install ltconfig -- it
doesn't exist!!
* bootstrap: Fake an ltconfig incase the installed automake
calls an installed libtoolize (as part of its --add-missing
process) which thinks ltconfig should be there.
2000-09-07 00:38:04 +00:00

32 lines
660 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 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