fix openbsd build (FSBUILD-256)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17071 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2010-03-22 23:05:20 +00:00
parent ad581d8c00
commit f6fe2667d4
3 changed files with 29 additions and 2 deletions
+7
View File
@@ -25,6 +25,12 @@ echo " You need autoconf version 2.59 or newer installed"
echo " to build FreeSWITCH from SVN."
exit 1
fi
if test `uname -s` = "OpenBSD" && test "$ac_version" = "2.62"; then
echo "Autoconf 2.62 is broken on OpenBSD, please try another version"
exit 1
fi
IFS=_; set $ac_version; IFS=' '
ac_version=$1
IFS=.; set $ac_version; IFS=' '
@@ -37,6 +43,7 @@ else
echo "bootstrap: autoconf version $ac_version (ok)"
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'`