From: Michal Bielicki - cypromis Date: Wed, 31 Aug 2011 15:08:11 +0000 (+0200) Subject: final fix to bootstrap.sh X-Git-Tag: v1.2-rc1~51^2~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46e028724cac31175d0e690c6c7124688d3b639;p=thirdparty%2Ffreeswitch.git final fix to bootstrap.sh --- diff --git a/bootstrap.sh b/bootstrap.sh index f801cad2c3..ff1f4550d0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -300,12 +300,13 @@ libbootstrap() AMTEST=`grep "AM_INIT_AUTOMAKE" ${CFFILE}` AMTEST2=`grep "AC_PROG_INSTALL" ${CFFILE}` AHTEST=`grep "AC_CONFIG_HEADERS" ${CFFILE}` + AXTEST=`grep "ACX_LIBTOOL_C_ONLY" ${CFFILE}` echo "Creating aclocal.m4" ${ACLOCAL:-aclocal} ${ACLOCAL_OPTS} ${ACLOCAL_FLAGS} #only run if AC_PROG_LIBTOOL is in configure.in/configure.ac - if [ ! -z "${LTTEST}" -o "${LTTEST2}" ] ; then + if [ ! -z "${LTTEST}" -o "${LTTEST2}" -o "${AXTEST}" ] ; then echo "Running libtoolize..." if ${libtoolize} -n --install >/dev/null 2>&1 ; then $libtoolize --force --copy --install