[Freeswitch-svn] [commit] r5170 - freeswitch/trunk

Freeswitch SVN anthm at freeswitch.org
Mon May 14 09:54:53 EDT 2007


Author: anthm
Date: Mon May 14 09:54:52 2007
New Revision: 5170

Modified:
   freeswitch/trunk/bootstrap.sh

Log:
deal with extra _x in autoconf version

Modified: freeswitch/trunk/bootstrap.sh
==============================================================================
--- freeswitch/trunk/bootstrap.sh	(original)
+++ freeswitch/trunk/bootstrap.sh	Mon May 14 09:54:52 2007
@@ -33,6 +33,7 @@
 fi
 
 # automake 1.7 or newer
+
 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."
@@ -40,6 +41,8 @@
 echo "           to build FreeSWITCH from SVN."
 exit 1
 fi
+IFS=_; set $am_version; IFS=' '
+am_version=$1
 IFS=.; set $am_version; IFS=' '
 if test "$1" = "1" -a "$2" -lt "7"; then
 echo "bootstrap: automake version $am_version found."



More information about the Freeswitch-svn mailing list