blob: d1bcf40ac3c76c4048b3fdc0d5c2aa76586fb455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
AC_ARG_ENABLE(crypto,
[ --enable-crypto Use OpenSSL crypto instead of NSS],
[CRYPTO="$enableval"],
[CRYPTO="no"]
)
if test x$CRYPTO != xyes; then
PKG_CHECK_MODULES([NSS],[nss],[have_nss=1],[have_nss=])
else
PKG_CHECK_MODULES([CRYPTO],[libcrypto],[have_crypto=1],[have_crypto=])
fi
AM_CONDITIONAL([HAVE_NSS], [test x$have_nss != x])
AM_CONDITIONAL([HAVE_CRYPTO], [test x$have_crypto != x])
|