strip trailing stuff off the automake/autoconf versions detected in bootstrap.sh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4896 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c7cddb2dc7
commit
dc064af5eb
|
@ -15,7 +15,7 @@ touch README
|
|||
touch ChangeLog
|
||||
|
||||
# autoconf 2.59 or newer
|
||||
ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;q'`
|
||||
ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
|
||||
if test -z "$ac_version"; then
|
||||
echo "bootstrap: autoconf not found."
|
||||
echo " You need autoconf version 2.59 or newer installed"
|
||||
|
@ -33,7 +33,7 @@ echo "bootstrap: autoconf version $ac_version (ok)"
|
|||
fi
|
||||
|
||||
# automake 1.7 or newer
|
||||
am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;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
|
||||
echo "bootstrap: automake not found."
|
||||
echo " You need automake version 1.7 or newer installed"
|
||||
|
|
Loading…
Reference in New Issue