2001-04-22 Peter Eisentraut <peter_e@gmx.net>
+ * bootstrap: Allow overriding the location aclocal, automake,
+ autoconf, autoheader from the environment.
+
* demo/Makefile.am: Automake 1.4e does not allow `+=' assignments
if the variable was not set with `=' earlier. `+=' was not useful
here anyway.
# helps bootstrapping libtool, when checked out from CVS
# requires GNU autoconf and GNU automake
-# this is not meant to go into the distributions
+
+: ${ACLOCAL=aclocal}
+: ${AUTOMAKE=automake}
+: ${AUTOCONF=autoconf}
+: ${AUTOHEADER=autoheader}
rm -f acinclude.m4
ln -s libtool.m4 acinclude.m4
touch ltconfig
touch ltmain.sh
touch libtoolize
-aclocal
-automake --gnu --add-missing
-autoconf
+${ACLOCAL}
+${AUTOMAKE} --gnu --add-missing
+${AUTOCONF}
for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; do
cd $sub
cat ../libtool.m4 > acinclude.m4
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
aclocal
- test "$sub" = libltdl && autoheader
- automake --gnits --add-missing
- autoconf
+ test "$sub" = libltdl && ${AUTOHEADER}
+ ${AUTOMAKE} --gnits --add-missing
+ ${AUTOCONF}
cd ..
done