- Claes Jakobsson fixed the configure script to better find and use NSS
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Jun 2009 09:40:09 +0000 (09:40 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Jun 2009 09:40:09 +0000 (09:40 +0000)
  without pkg-config.

CHANGES
RELEASE-NOTES
configure.ac

diff --git a/CHANGES b/CHANGES
index ce9ecbf..1b63881 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
 
                                   Changelog
 
+Daniel Stenberg (1 June 2009)
+- Claes Jakobsson fixed the configure script to better find and use NSS
+  without pkg-config.
+
 Yang Tse (1 Jun 2009)
 - John E. Malmberg provided a VMS specific clean-up for curl.h, and pointed
   out that the configure script was failing to detect the timeval struct on
index cd0051c..06adace 100644 (file)
@@ -17,6 +17,7 @@ This release includes the following bugfixes:
  o leaking cookie memory when duplicate domains or paths were used
  o build fix for Symbian
  o CURLOPT_USERPWD set to NULL clears auth credentials
+ o libcurl-NSS build fixes
  o libcurl-NSS build fix
  o configure script fixed for VMS
 
index 16bb0f0..a7065e3 100644 (file)
@@ -1663,10 +1663,10 @@ if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then
       fi
     else
       # Without pkg-config, we'll kludge in some defaults
-      addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
+      addlib="-L$OPT_NSS/lib -lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
       addcflags="-I$OPT_NSS/include"
       version="unknown"
-      gtlsprefix=$OPT_GNUTLS
+      nssprefix=$OPT_NSS
     fi
 
     dnl Check for functionPK11_CreateGenericObject