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:
parent
bd828b76a9
commit
75adcf8c46
|
@ -76,7 +76,7 @@ m4_defun([_LT_AC_LANG_RC_CONFIG], [:])
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
AC_PROG_LIBTOOL
|
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}'`
|
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
|
#Check for compiler vendor
|
||||||
|
|
Loading…
Reference in New Issue