summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 082e882b..1242fde1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,6 +14,8 @@ DIE=0
test -z "$AUTOMAKE" && AUTOMAKE=automake
test -z "$ACLOCAL" && ACLOCAL=aclocal
+test -z "$AUTOCONF" && AUTOCONF=autoconf
+test -z "$AUTOHEADER" && AUTOHEADER=autoheader
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
@@ -85,14 +87,14 @@ fi
$ACLOCAL $ACLOCAL_FLAGS
# optionally feature autoheader
-(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
+($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 && $AUTOHEADER
# run libtoolize ...
libtoolize --force
$AUTOMAKE -a $am_opt
-autoheader
-autoconf
+$AUTOHEADER
+$AUTOCONF
cd $ORIGDIR
$srcdir/configure --enable-maintainer-mode "$@"