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

Freeswitch SVN lukedashjr at freeswitch.org
Mon Apr 21 18:46:15 EDT 2008


Author: lukedashjr
Date: Mon Apr 21 18:46:14 2008
New Revision: 8152

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

Log:
only warn if spidermonkey is not found

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 18:46:14 2008
@@ -222,9 +222,13 @@
 AC_CHECK_LIB(smjs, JS_BeginRequest, libjs=smjs, [
 AC_CHECK_LIB(js, JS_BeginRequest, libjs=js)
 ])
-PKG_CHECK_MODULES([NSPR],[nspr])
+PKG_CHECK_MODULES([NSPR],[nspr],
+[
 SPIDERMONKEY_CFLAGS="${NSPR_CFLAGS} -I/usr/include/js -DXP_UNIX -DJS_THREADSAFE -DJS_HAS_FILE_OBJECT=1 -DJS_HAS_XML_SUPPORT=1"
 SPIDERMONKEY_LIBS="${NSPR_LIBS} -l$libjs"
+],[
+AC_MSG_WARN([spidermonkey not found: mod_spidermonkey will not work.])
+])
 
 ])
 ])



More information about the Freeswitch-branches mailing list