From: Anthony Minessale Date: Mon, 14 May 2007 14:21:38 +0000 (+0000) Subject: deal with extra _x in autoconf version X-Git-Tag: v1.0-beta1~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6eefaad74aefad812810299da0f53bc734777e;p=thirdparty%2Ffreeswitch.git deal with extra _x in autoconf version git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5171 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/bootstrap.sh b/bootstrap.sh index 1940390311..ef7df40617 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,6 +22,8 @@ echo " You need autoconf version 2.59 or newer installed" echo " to build FreeSWITCH from SVN." exit 1 fi +IFS=_; set $ac_version; IFS=' ' +ac_version=$1 IFS=.; set $ac_version; IFS=' ' if test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then echo "bootstrap: autoconf version $ac_version found."