diff --git a/Makefile.am b/Makefile.am index 10e35c8694..50cf65fc7a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -300,7 +300,7 @@ endif fs_encode_SOURCES = src/fs_encode.c fs_encode_CFLAGS = $(AM_CFLAGS) fs_encode_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS) -fs_encode_LDADD = libfreeswitch.la +fs_encode_LDADD = libfreeswitch.la -lcrypt -lrt ## ## tone2wav () @@ -308,7 +308,7 @@ fs_encode_LDADD = libfreeswitch.la tone2wav_SOURCES = src/tone2wav.c tone2wav_CFLAGS = $(AM_CFLAGS) tone2wav_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS) -tone2wav_LDADD = libfreeswitch.la +tone2wav_LDADD = libfreeswitch.la -lcrypt -lrt ## ## fs_ivrd () diff --git a/bootstrap.sh b/bootstrap.sh index 2dd76c409c..ff1f4550d0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -15,7 +15,7 @@ done BASEDIR=`pwd`; LIBDIR=${BASEDIR}/libs; -SUBDIRS="ilbc curl iksemel js js/nsprpub libdingaling libedit libsndfile pcre sofia-sip \ +SUBDIRS="ilbc curl iksemel js js/nsprpub ldns libdingaling libedit libsndfile pcre sofia-sip \ speex sqlite srtp openzap freetdm spandsp libg722_1 portaudio unimrcp tiff-3.8.2 broadvoice silk libcodec2"; if [ ! -f modules.conf ]; then @@ -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 diff --git a/build/freeswitch.init.redhat b/build/freeswitch.init.redhat index b9dc3d8db5..95d15c27ea 100644 --- a/build/freeswitch.init.redhat +++ b/build/freeswitch.init.redhat @@ -43,8 +43,8 @@ start() { fi cd $FS_HOME daemon --user $FS_USER --pidfile $PID_FILE "$FS_FILE $FREESWITCH_ARGS $FREESWITCH_PARAMS >/dev/null 2>&1" - echo RETVAL=$? + echo [ $RETVAL -eq 0 ] && touch $LOCK_FILE; echo return $RETVAL diff --git a/clients/flex/freeswitch.html b/clients/flex/freeswitch.html index 0c2aeebefc..31d6a17c96 100644 --- a/clients/flex/freeswitch.html +++ b/clients/flex/freeswitch.html @@ -14,7 +14,7 @@