deal with extra _x in autoconf version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5170 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
077d77d0e4
commit
3ddb459c03
|
@ -33,6 +33,7 @@ echo "bootstrap: autoconf version $ac_version (ok)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# automake 1.7 or newer
|
# automake 1.7 or newer
|
||||||
|
|
||||||
am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
|
am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
|
||||||
if test -z "$am_version"; then
|
if test -z "$am_version"; then
|
||||||
echo "bootstrap: automake not found."
|
echo "bootstrap: automake not found."
|
||||||
|
@ -40,6 +41,8 @@ echo " You need automake version 1.7 or newer installed"
|
||||||
echo " to build FreeSWITCH from SVN."
|
echo " to build FreeSWITCH from SVN."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
IFS=_; set $am_version; IFS=' '
|
||||||
|
am_version=$1
|
||||||
IFS=.; set $am_version; IFS=' '
|
IFS=.; set $am_version; IFS=' '
|
||||||
if test "$1" = "1" -a "$2" -lt "7"; then
|
if test "$1" = "1" -a "$2" -lt "7"; then
|
||||||
echo "bootstrap: automake version $am_version found."
|
echo "bootstrap: automake version $am_version found."
|
||||||
|
|
Loading…
Reference in New Issue