[Freeswitch-svn] [commit] r7108 - freeswitch/trunk/libs/js
Freeswitch SVN
stkn at freeswitch.org
Sun Jan 6 13:03:33 EST 2008
Author: stkn
Date: Sun Jan 6 13:03:32 2008
New Revision: 7108
Modified:
freeswitch/trunk/libs/js/configure.ac
Log:
Fix pthread configure check for js cli tool
Modified: freeswitch/trunk/libs/js/configure.ac
==============================================================================
--- freeswitch/trunk/libs/js/configure.ac (original)
+++ freeswitch/trunk/libs/js/configure.ac Sun Jan 6 13:03:32 2008
@@ -178,11 +178,13 @@
AC_CACHE_CHECK([whether to build with NSPR], [ac_cv_with_nspr], [ac_cv_with_nspr=no])
if test ".$ac_cv_with_nspr" = ".yes"; then
sinclude(nsprpub/config/nspr.m4)
+
+ AC_CHECK_LIB(pthread, pthread_create, [CLI_LIBS="$CLI_LIBS -lpthread"])
+
CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr -Insprpub/pr/include"
LDFLAGS="$LDFLAGS -L./nsprpub/dist/lib"
LIBS="$LIBS -lnspr4"
LIBPATH="LD_LIBRARY_PATH=./nsprpub/dist/lib DYLD_LIBRARY_PATH=./nsprpub/dist/lib"
- AC_CHECK_LIB(pthread, pthread_create, [CLI_LIBS="$CLI_LIBS -lpthread"])
fi
AC_DEFUN([AX_COMPILER_VENDOR],
More information about the Freeswitch-svn
mailing list