From: Michael Jerris Date: Mon, 6 Apr 2009 21:25:28 +0000 (+0000) Subject: add libtool major version detection to configure in prep for supporting both libtool... X-Git-Tag: v1.0.4~1260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75adcf8c461e7f17d35e36d50734cb511ffa0ac3;p=thirdparty%2Ffreeswitch.git add libtool major version detection to configure in prep for supporting both libtool 2.x and 1.5.x at the same time git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12926 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/configure.in b/configure.in index ae65e9b418..d9857d7dd1 100644 --- a/configure.in +++ b/configure.in @@ -76,7 +76,7 @@ m4_defun([_LT_AC_LANG_RC_CONFIG], [:]) AM_PROG_CC_C_O AC_PROG_LIBTOOL -libtool=$(switch_builddir)/libtool +libtool=$switch_builddir/libtool LIBTOOL_MAJOR_VERSION=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'| awk -F . '{print $1}'` #Check for compiler vendor