some tweaks for building and linking in place before install

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4538 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-03-11 10:30:12 +00:00
1 parent 3380ee98f8
commit 4852afdaf3
3 files changed
+9 -6

No files matched your search

+4 -2
View File
@@ -169,8 +169,9 @@ AC_ARG_WITH(nspr,
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)
CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr"
LDFLAGS="$LDFLAGS -L$prefix/lib -lnspr4"
CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr -Insprpub/pr/include"
LDFLAGS="$LDFLAGS -L$prefix/lib -L./nsprpub/dist/lib -lnspr4"
LIBPATH="LD_LIBRARY_PATH=./nsprpub/dist/lib DYLD_LIBRARY_PATH=./nsprpub/dist/lib"
fi
AC_SUBST(CLI_CFLAGS)
@@ -178,6 +179,7 @@ AC_SUBST(CLI_CPPFLAGS)
AC_SUBST(CLI_LDFLAGS)
AC_SUBST(CLI_LIBS)
AC_SUBST(CLI_OBJS)
AC_SUBST(LIBPATH)
with_tags=""
sinclude(libtool.m4)