libtool/bootstrap

38 lines
749 B
Plaintext
Raw Normal View History

#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
file=Makefile.in
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
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
$ACLOCAL
$AUTOMAKE --gnu --add-missing --copy
$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 Makefile
cat ../libtool.m4 > acinclude.m4
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
$ACLOCAL
test "$sub" = libltdl && $AUTOHEADER
$AUTOMAKE --gnits --add-missing
$AUTOCONF
1998-12-20 18:26:52 +08:00
cd ..
done
rm -f ltmain.sh ltconfig libtoolize Makefile
1998-12-20 18:26:52 +08:00
exit 0