libtool/bootstrap

31 lines
611 B
Plaintext
Raw Normal View History

#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
1998-12-20 18:26:52 +08:00
rm -f acinclude.m4
ln -s libtool.m4 acinclude.m4
1999-01-14 17:33:48 +08:00
# fake the libtool scripts
touch ltmain.sh
touch ltconfig
1999-01-14 17:33:48 +08:00
touch libtoolize
1999-01-15 04:07:09 +08:00
aclocal
automake --gnu --add-missing --copy
1999-01-15 04:07:09 +08:00
autoconf
1998-12-20 18:26:52 +08:00
for sub in libltdl demo depdemo mdemo cdemo; do
1998-12-20 18:26:52 +08:00
cd $sub
rm -f acinclude.m4
cat ../libtool.m4 > acinclude.m4
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
aclocal
test "$sub" = libltdl && autoheader
1998-12-20 18:26:52 +08:00
automake --gnits --add-missing
autoconf
cd ..
done
rm -f ltmain.sh ltconfig libtoolize
1998-12-20 18:26:52 +08:00
exit 0