summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-22 22:31:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-22 22:31:02 +0000
commit9f8123f1b8125022af4513e698438ffa0ddfa1af (patch)
treeef85c5ae12d17b1bcb815cb5f472ff08fa0f9cd5 /buildconf
parent8b23db4f4d3744f17feb043d95bd220a1ed5fb92 (diff)
downloadgnurl-9f8123f1b8125022af4513e698438ffa0ddfa1af.tar.gz
gnurl-9f8123f1b8125022af4513e698438ffa0ddfa1af.tar.bz2
gnurl-9f8123f1b8125022af4513e698438ffa0ddfa1af.zip
Dan Fandrich's fix
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf10
1 files changed, 5 insertions, 5 deletions
diff --git a/buildconf b/buildconf
index 31a1e8770..5b14ac5e3 100755
--- a/buildconf
+++ b/buildconf
@@ -50,7 +50,7 @@ echo "buildconf: autoheader version $ah_version (ok)"
#--------------------------------------------------------------------------
# automake 1.5 or newer
#
-am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|head -1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
+am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|head -1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//'`
if test -z "$am_version"; then
echo "buildconf: automake not found."
echo " You need automake version 1.5 or newer installed."
@@ -107,12 +107,12 @@ fi
echo "buildconf: libtool version $lt_pversion (ok)"
echo "buildconf: running aclocal"
-aclocal || die "The command 'aclocal' failed"
+${ACLOCAL:-aclocal} || die "The command '${AUTOHEADER:-aclocal}' failed"
echo "buildconf: running autoheader"
-autoheader || die "The command 'autoheader' failed"
+${AUTOHEADER:-autoheader} || die "The command '${AUTOHEADER:-autoheader}' failed"
echo "buildconf: running autoconf"
-autoconf || die "The command 'autoconf' failed"
+${AUTOCONF:-autoconf} || die "The command '${AUTOCONF:-autoconf}' failed"
echo "buildconf: running automake"
-automake -a || die "The command 'automake -a' failed"
+${AUTOMAKE:-automake} -a || die "The command '${AUTOMAKE:-automake} -a' failed"
exit 0