From dfbd361b9ddb66712c6c47b8f67a8a475a9c4808 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 16 Jun 2009 22:41:26 +0000 Subject: [PATCH] working on build integration for libunimrcp git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13793 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- bootstrap.sh | 2 +- configure.in | 1 + libs/unimrcp/.update | 1 + libs/unimrcp/configure.gnu | 3 +++ src/mod/asr_tts/mod_unimrcp/Makefile | 2 +- 5 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 libs/unimrcp/.update create mode 100644 libs/unimrcp/configure.gnu diff --git a/bootstrap.sh b/bootstrap.sh index f041c2a24d..5896bf4063 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -5,7 +5,7 @@ BASEDIR=`pwd`; LIBDIR=${BASEDIR}/libs; SUBDIRS="ilbc curl iksemel voipcodecs \ js js/nsprpub libdingaling libedit libsndfile pcre sofia-sip \ - speex sqlite srtp openzap spandsp libg722_1 portaudio"; + speex sqlite srtp openzap spandsp libg722_1 portaudio unimrcp"; if [ ! -f modules.conf ]; then diff --git a/configure.in b/configure.in index ada247fd46..3bfa6a374a 100644 --- a/configure.in +++ b/configure.in @@ -815,6 +815,7 @@ AC_CONFIG_SUBDIRS(libs/sofia-sip) AC_CONFIG_SUBDIRS(libs/speex) AC_CONFIG_SUBDIRS(libs/portaudio) AC_CONFIG_SUBDIRS(libs/openzap) +AC_CONFIG_SUBDIRS(libs/unimrcp) AC_CHECK_LIB([tiff], [TIFFOpen], AC_CONFIG_SUBDIRS(libs/spandsp), , -lm) AC_OUTPUT diff --git a/libs/unimrcp/.update b/libs/unimrcp/.update new file mode 100644 index 0000000000..d8ab9c6b2c --- /dev/null +++ b/libs/unimrcp/.update @@ -0,0 +1 @@ +Tue Jun 16 17:36:06 CDT 2009 diff --git a/libs/unimrcp/configure.gnu b/libs/unimrcp/configure.gnu new file mode 100644 index 0000000000..cd0d8ced3a --- /dev/null +++ b/libs/unimrcp/configure.gnu @@ -0,0 +1,3 @@ +#! /bin/sh +./configure "$@" --with-apr=../apr --disable-shared --with-pic --with-apr-utils=../apr-utils --with-sofia-sip=../sofia-sip + diff --git a/src/mod/asr_tts/mod_unimrcp/Makefile b/src/mod/asr_tts/mod_unimrcp/Makefile index 39a7b42d14..949de8c720 100644 --- a/src/mod/asr_tts/mod_unimrcp/Makefile +++ b/src/mod/asr_tts/mod_unimrcp/Makefile @@ -21,7 +21,7 @@ LOCAL_LIBADD=$(UNIMRCPLA) include $(BASE)/build/modmake.rules -$(UNIMRCPLA): $(UNIMRCP_DIR) +$(UNIMRCPLA): $(UNIMRCP_DIR) $(UNIMRCP_DIR)/.update cd $(UNIMRCP_DIR) && $(MAKE) $(TOUCH_TARGET)