summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/buildcheck.sh2
-rwxr-xr-xbuildconf6
2 files changed, 4 insertions, 4 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 86cf95f34..0bc0be4fd 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -3,7 +3,7 @@
echo "buildconf: checking installation..."
# autoconf 2.13 or newer
-ac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
+ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
if test -z "$ac_version"; then
echo "buildconf: autoconf not found."
echo " You need autoconf version 2.13 or newer installed"
diff --git a/buildconf b/buildconf
index 506b02ac6..be13d7468 100755
--- a/buildconf
+++ b/buildconf
@@ -98,13 +98,13 @@ rm -f aclocal.m4
# Generate the autoconf header and ./configure
#
echo "Creating include/arch/unix/apr_private.h.in ..."
-autoheader
+${AUTOHEADER:-autoheader}
echo "Creating configure ..."
### do some work to toss config.cache?
-autoconf
+${AUTOCONF:-autoconf}
# Remove autoconf 2.5x's cache directory
-rm -rf autom4te.cache
+rm -rf autom4te*.cache
exit 0