mirror of
https://github.com/curl/curl.git
synced 2025-09-16 17:12:43 +03:00
when checking the automake version, cut off trailing "-p[whatever]" from the
version string before doing the version number checks.
This commit is contained in:
parent
76f23acfa1
commit
9fadfffb9d
|
@ -67,7 +67,7 @@ echo "buildconf: autoheader version $ah_version (ok)"
|
||||||
# automake 1.7 or newer
|
# automake 1.7 or newer
|
||||||
#
|
#
|
||||||
need_automake="1.7"
|
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
|
if test -z "$am_version"; then
|
||||||
echo "buildconf: automake not found."
|
echo "buildconf: automake not found."
|
||||||
echo " You need automake version $need_automake or newer installed."
|
echo " You need automake version $need_automake or newer installed."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user