summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-07-27 22:44:54 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-08-10 19:39:21 +0200
commit103367103228d5ae88df7aace5c87c5e82d82e11 (patch)
tree0558fc7a835199d2b43b8b77ed367b51ea46cca2 /bootstrap
parent6d316dd0ee1b478baa85896b6f6e05dc8ae240e3 (diff)
downloadautomake-103367103228d5ae88df7aace5c87c5e82d82e11.tar.gz
Bootstrap: let the user choose which autoconf to use.
* bootstrap ($AUTOCONF): New variable, from the environment. ($AUTOM4TE): Likewise, for clarity. Use "$AUTOCONF" instead of calling "autoconf" directly.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap8
1 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 7766bd3e8..ebcedbe83 100755
--- a/bootstrap
+++ b/bootstrap
@@ -35,6 +35,12 @@ set -e
# Set program basename.
me=`echo "$0" | sed 's,^.*/,,'`
+# Let user choose which version of autoconf and autom4te to use.
+: ${AUTOCONF=autoconf}
+export AUTOCONF # might be used by aclocal and/or automake
+: ${AUTOM4TE=autom4te}
+export AUTOM4TE # ditto
+
# Find perl. Code based on Autoconf, but without non-POSIX support.
if test -z "$PERL"; then
save_IFS=$IFS
@@ -133,7 +139,7 @@ cd ..
# Run the autotools.
$PERL ./aclocal.tmp -I m4
-autoconf
+$AUTOCONF
$PERL ./automake.tmp
# Remove temporary files and directories.