libtool/bootstrap
Peter Eisentraut 57024a1cdb * bootstrap: Allow overriding the location aclocal, automake,
autoconf, autoheader from the environment.
2001-04-22 23:34:50 +00:00

36 lines
731 B
Bash
Executable File

#! /bin/sh
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
rm -f acinclude.m4
ln -s libtool.m4 acinclude.m4
# fake the libtool scripts
touch ltconfig
touch ltmain.sh
touch libtoolize
${ACLOCAL}
${AUTOMAKE} --gnu --add-missing
${AUTOCONF}
for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; 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 ltconfig ltmain.sh libtoolize
exit 0