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
This commit is contained in:
Michael Jerris 2009-04-06 21:25:28 +00:00
parent bd828b76a9
commit 75adcf8c46
1 changed files with 1 additions and 1 deletions

View File

@ -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