diff options
-rwxr-xr-x | build/buildcheck.sh | 2 | ||||
-rwxr-xr-x | buildconf | 6 |
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" @@ -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 |