[Freeswitch-svn] [commit] r4896 - freeswitch/trunk
Freeswitch SVN
mikej at freeswitch.org
Sun Apr 8 15:13:07 EDT 2007
Author: mikej
Date: Sun Apr 8 15:13:07 2007
New Revision: 4896
Modified:
freeswitch/trunk/bootstrap.sh
Log:
strip trailing stuff off the automake/autoconf versions detected in bootstrap.sh
Modified: freeswitch/trunk/bootstrap.sh
==============================================================================
--- freeswitch/trunk/bootstrap.sh (original)
+++ freeswitch/trunk/bootstrap.sh Sun Apr 8 15:13:07 2007
@@ -15,7 +15,7 @@
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 @@
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"
More information about the Freeswitch-svn
mailing list