]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
deal with extra _x in autoconf version
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 14 May 2007 14:21:38 +0000 (14:21 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 14 May 2007 14:21:38 +0000 (14:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5171 d0543943-73ff-0310-b7d9-9358b9ac24b2

bootstrap.sh

index 1940390311cd4e31c6ac7ba2f010c4185500a0d1..ef7df40617c17eb5080576fbb3812cd66a271bc8 100755 (executable)
@@ -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."