libtool/bootstrap

38 lines
758 B
Plaintext
Raw Normal View History

#! /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
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 ltconfig
touch ltmain.sh
touch libtoolize
1999-01-15 04:07:09 +08:00
aclocal
automake --gnits --add-missing
autoconf
1998-12-20 18:26:52 +08:00
for sub in demo depdemo libltdl mdemo cdemo; do
1998-12-20 18:26:52 +08:00
cd $sub
rm -f acinclude.m4
1999-01-14 23:07:12 +08:00
cp ../libtool.m4 acinclude.m4
1998-12-20 18:26:52 +08:00
aclocal
test "$sub" = libltdl && autoheader
1998-12-20 18:26:52 +08:00
automake --gnits --add-missing
autoconf
cd ..
done
# fix libltdl's Makefile.in
cd libltdl
sed -e 's/chmod 777/chmod 755/g' -e '/ln \$\$d\/\$\$file/d' \
Makefile.in > Makefile.tmp
mv Makefile.tmp Makefile.in
cd ..
1999-01-14 17:33:48 +08:00
rm -f ltconfig ltmain.sh libtoolize
1998-12-20 18:26:52 +08:00
exit 0