aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-05-10 14:17:23 +0800
committerChris Toshok <toshok@src.gnome.org>2001-05-10 14:17:23 +0800
commitc414a3739a0ff56590b093c64ff27122949c5ee3 (patch)
tree88bdde53f4fb9d1ebb74de5632d6abbd0ead45db /configure.in
parent5f3f0da8b17f93b79d7744778e94aa4543b17d3c (diff)
downloadgsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar.gz
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar.bz2
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar.lz
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar.xz
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.tar.zst
gsoc2013-evolution-c414a3739a0ff56590b093c64ff27122949c5ee3.zip
add the nspr includes to the list of includes used to test for NSS
2001-05-09 Chris Toshok <toshok@ximian.com> * configure.in: add the nspr includes to the list of includes used to test for NSS headers, and don't assume -lpthread in the nss/nspr libs - use PTHREAD_LIB. svn path=/trunk/; revision=9743
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 9d838e4475..3e82309a08 100644
--- a/configure.in
+++ b/configure.in
@@ -546,7 +546,7 @@ if test "x${with_nspr_libs}" != "xno" -a "x${have_nspr_includes}" != "xno"; then
CFLAGS_save="$CFLAGS"
LDFLAGS_save="$LDFLAGS"
- nsprlibs="-lnspr4 -lplc4 -lplds4 -lpthread"
+ nsprlibs="-lnspr4 -lplc4 -lplds4 $PTHREAD_LIB"
AC_CACHE_CHECK([for Mozilla nspr libraries], moz_nspr_libs,
[
CFLAGS="$CFLAGS $NSPR_CFLAGS"
@@ -580,8 +580,13 @@ if test "x${with_nss_includes}" != "xno" -a "x${have_nspr_libs}" != "xno"; then
AC_MSG_CHECKING(for Mozilla nss3 includes in $with_nss_includes)
AC_MSG_RESULT("")
-
- CPPFLAGS="$CPPFLAGS -I$with_nss_includes"
+
+ if test "x${with_nspr_includes}" != "x"; then
+ CPPFLAGS="$CPPFLAGS -I$with_nspr_includes -I$with_nss_includes"
+ else
+ CPPFLAGS="$CPPFLAGS -I$with_nss_includes"
+ fi
+
AC_CHECK_HEADERS(nss.h ssl.h smime.h, [ moz_nspr_includes="yes" ])
CPPFLAGS="$CPPFLAGS_save"
@@ -603,7 +608,7 @@ msg_nss="no"
if test "x${with_nss_libs}" != "xno" -a "x${have_nss_includes}" != "xno"; then
LDFLAGS_save="$LDFLAGS"
- nsprlibs="-lnspr4 -lplc4 -lplds4 -lpthread"
+ nsprlibs="-lnspr4 -lplc4 -lplds4 $PTHREAD_LIB"
nsslibs="-lnss3 -lnssckbi -lssl3 -lsmime3"
AC_CACHE_CHECK([for Mozilla nss libraries], moz_nss_libs,
[