diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-30 08:28:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-30 08:28:39 +0000 |
commit | 9fadfffb9d5533c08321ed972f9aeb003d4c2b5b (patch) | |
tree | c0b74836cd3532544db2226a797a2877b88e9341 /buildconf | |
parent | 76f23acfa1cbe8e8133634710ec76efd8230cf62 (diff) | |
download | curl-9fadfffb9d5533c08321ed972f9aeb003d4c2b5b.tar.gz |
when checking the automake version, cut off trailing "-p[whatever]" from the
version string before doing the version number checks.
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ echo "buildconf: autoheader version $ah_version (ok)" # automake 1.7 or newer # need_automake="1.7" -am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|head -1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//'` +am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|head -1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//' -e 's/\(.*\)\(-p.*\)/\1/'` if test -z "$am_version"; then echo "buildconf: automake not found." echo " You need automake version $need_automake or newer installed." |