aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
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,