aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-23 08:24:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-23 08:24:34 +0800
commit29b0f2cffcc43b4d0d6ebf194ed8bc17fccd777f (patch)
tree85e841b461719853ea390d912578356c236cf08d /configure.in
parentb0795401c735bea2aab3fb0da4f4a8824d8e210a (diff)
downloadgsoc2013-evolution-29b0f2cffcc43b4d0d6ebf194ed8bc17fccd777f.tar.gz
gsoc2013-evolution-29b0f2cffcc43b4d0d6ebf194ed8bc17fccd777f.tar.zst
gsoc2013-evolution-29b0f2cffcc43b4d0d6ebf194ed8bc17fccd777f.zip
We need to link in more than just libnspr4, we also need libpthread.
2001-04-21 Jeffrey Stedfast <fejj@ximian.com> * configure.in (have_nspr_libs): We need to link in more than just libnspr4, we also need libpthread. (have_nss_libs): Don't forget to add nsprlibs to the LDFLAGS. svn path=/trunk/; revision=9497
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 5c524a5016..3417efbdab 100644
--- a/configure.in
+++ b/configure.in
@@ -551,7 +551,7 @@ if test "x${with_nspr_libs}" != "xno" -a "x${have_nspr_includes}" != "xno"; then
CFLAGS_save="$CFLAGS"
LDFLAGS_save="$LDFLAGS"
- nsprlibs="-lnspr4"
+ nsprlibs="-lnspr4 -lplc4 -lplds4 -lpthread"
AC_CACHE_CHECK([for Mozilla nspr libraries], moz_nspr_libs,
[
CFLAGS="$CFLAGS $NSPR_CFLAGS"
@@ -608,11 +608,11 @@ msg_nss="no"
if test "x${with_nss_libs}" != "xno" -a "x${have_nss_includes}" != "xno"; then
LDFLAGS_save="$LDFLAGS"
- nsprlibs="-lnspr4"
+ nsprlibs="-lnspr4 -lplc4 -lplds4 -lpthread"
nsslibs="-lnss3 -lnssckbi -lssl3 -lsmime3"
AC_CACHE_CHECK([for Mozilla nss libraries], moz_nss_libs,
[
- LDFLAGS="$LDFLAGS -L$with_nss_libs $nsslibs"
+ LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs"
AC_TRY_LINK_FUNC(NSS_Init, moz_nss_libs="yes", moz_nss_libs="no")
LDFLAGS="$LDFLAGS_save"
])