mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
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
|
touch ChangeLog
|
||||||
|
|
||||||
# autoconf 2.59 or newer
|
# 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
|
if test -z "$ac_version"; then
|
||||||
echo "bootstrap: autoconf not found."
|
echo "bootstrap: autoconf not found."
|
||||||
echo " You need autoconf version 2.59 or newer installed"
|
echo " You need autoconf version 2.59 or newer installed"
|
||||||
@ -33,7 +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]* *$//;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."
|
||||||
echo " You need automake version 1.7 or newer installed"
|
echo " You need automake version 1.7 or newer installed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user