aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-11-14 09:13:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-11-14 09:13:47 +0000
commiteb16c0e1ebd56f0895ac475595a8fc70de98506a (patch)
treef358c54513592742608ae008c505511a83fc5762
parent9c49e51f7e223d7e48c2551e888d92a5e3cf76a6 (diff)
- Claes Jakobsson restored the configure functionality to detect NSS when
--with-nss is set but not "yes". I think we can still improve that to check for pkg-config in that path etc, but at least this patch brings back the same functionality we had before.
-rw-r--r--CHANGES7
-rw-r--r--RELEASE-NOTES3
-rw-r--r--configure.ac8
3 files changed, 16 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 1a2273e02..44d761861 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,7 +6,14 @@
Changelog
+
Daniel Stenberg (14 Nov 2009)
+- Claes Jakobsson restored the configure functionality to detect NSS when
+ --with-nss is set but not "yes".
+
+ I think we can still improve that to check for pkg-config in that path etc,
+ but at least this patch brings back the same functionality we had before.
+
- Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for
the client certificate. It also disable the key name test as some engines
can select a private key/cert automatically (When there is only one key
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 9a4a6cfb4..4165591b5 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -19,6 +19,7 @@ This release includes the following bugfixes:
o DNS cache timeout while transfer in progress
o compilation when configured --with-gssapi having GNU GSS installed
o SSL connection reused with mismatched protection level
+ o configure --with-nss is set but not "yes"
This release includes the following known bugs:
@@ -28,6 +29,6 @@ This release would not have looked like this without help, code, reports and
advice from friends like these:
Yang Tse, Kamil Dudka, Christian Schmitz, Constantine Sapuntzakis,
- Marco Maggi
+ Marco Maggi, Camille Moncelier, Claes Jakobsson, Kevin Baughman
Thanks! (and sorry if I forgot to mention someone)
diff --git a/configure.ac b/configure.ac
index 5ca38e002..d2db6cf54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1612,8 +1612,14 @@ if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then
version="unknown"
fi
fi
+ else
+ # Without pkg-config, we'll kludge in some defaults
+ addlib="-L$OPT_NSS/lib -lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
+ addcflags="-I$OPT_NSS/include"
+ version="unknown"
+ nssprefix=$OPT_NSS
fi
-
+
dnl Check for functionPK11_CreateGenericObject
dnl this is needed for using the PEM PKCS#11 module
AC_CHECK_LIB(nss3, PK11_CreateGenericObject,