From c4abdf9d68dca0310010889a6272b3a0ca3b3c0e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 20 Mar 2007 17:20:38 +0000 Subject: [PATCH] confirmed that libtool 1.5.6 does NOT work we definately need newer git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4682 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- bootstrap.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 682863de57..28383ec301 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -60,15 +60,16 @@ libtool=`${LIBDIR}/apr/build/PrintPath glibtool libtool libtool15 libtool14` lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'` if test -z "$lt_pversion"; then echo "bootstrap: libtool not found." -echo " You need libtool version 1.4 or newer installed" +echo " You need libtool version 1.5.7 or newer installed" echo " to build FreeSWITCH from SVN." exit 1 fi lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'` IFS=.; set $lt_version; IFS=' ' lt_status="good" + if test "$1" = "1"; then - if test "$2" -lt "4"; then + if test "$2" -lt "5" -o "$2" = "5" -a "$3" -lt "7" || test ; then lt_status="bad" fi fi @@ -76,12 +77,13 @@ if test $lt_status = "good"; then echo "bootstrap: libtool version $lt_pversion (ok)" else echo "bootstrap: libtool version $lt_pversion found." -echo " You need libtool version 1.4 or newer installed" +echo " You need libtool version 1.5.7 or newer installed" echo " to build FreeSWITCH from SVN." exit 1 fi +exit echo "Entering directory ${LIBDIR}/apr" cd ${LIBDIR}/apr