mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
automake 1.5 should be enough
This commit is contained in:
parent
aba51d6b60
commit
90982529fc
@ -48,18 +48,18 @@ fi
|
|||||||
echo "buildconf: autoheader version $ah_version (ok)"
|
echo "buildconf: autoheader version $ah_version (ok)"
|
||||||
|
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# automake 1.6 or newer
|
# 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]*//' -e 's/[a-z]* *$//'`
|
||||||
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 1.6 or newer installed."
|
echo " You need automake version 1.5 or newer installed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
IFS=.; set $am_version; IFS=' '
|
IFS=.; set $am_version; IFS=' '
|
||||||
if test "$1" = "1" -a "$2" -lt "6" || test "$1" -lt "1"; then
|
if test "$1" = "1" -a "$2" -lt "5" || test "$1" -lt "1"; then
|
||||||
echo "buildconf: automake version $am_version found."
|
echo "buildconf: automake version $am_version found."
|
||||||
echo " You need automake version 1.6 or newer installed."
|
echo " You need automake version 1.5 or newer installed."
|
||||||
echo " If you have a sufficient automake installed, but it"
|
echo " If you have a sufficient automake installed, but it"
|
||||||
echo " is not named 'autommake', then try setting the"
|
echo " is not named 'autommake', then try setting the"
|
||||||
echo " AUTOMAKE environment variable."
|
echo " AUTOMAKE environment variable."
|
||||||
|
Loading…
Reference in New Issue
Block a user