[Freeswitch-branches] [commit] r8156 - freeswitch/branches/lukedashjr/syslibs/freeswitch

Freeswitch SVN lukedashjr at freeswitch.org
Mon Apr 21 19:39:03 EDT 2008


Author: lukedashjr
Date: Mon Apr 21 19:39:03 2008
New Revision: 8156

Modified:
   freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in

Log:
make sofia optional

Modified: freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in
==============================================================================
--- freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in	(original)
+++ freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in	Mon Apr 21 19:39:03 2008
@@ -235,9 +235,12 @@
 SWITCH_AM_CFLAGS="$SWITCH_AM_CFLAGS $sqlite3_CFLAGS"
 SWITCH_AM_LDFLAGS="$SWITCH_AM_LDFLAGS $sqlite3_LIBS"
 
-PKG_CHECK_MODULES([SOFIA],[sofia-sip-ua])
+PKG_CHECK_MODULES([SOFIA],[sofia-sip-ua],[
 AC_SUBST(SOFIA_CFLAGS)
 AC_SUBST(SOFIA_LIBS)
+],[
+AC_MSG_WARN([sofia-sip-ua not found: mod_sofia will not work.])
+])
 
 PKG_CHECK_MODULES([SPEEX],[speex])
 AC_SUBST(SPEEX_CFLAGS)



More information about the Freeswitch-branches mailing list