Fix the optional dependency on OpenSSL

http://hydra.nixos.org/build/2306540
This commit is contained in:
Eelco Dolstra 2012-03-19 01:06:13 +01:00
parent b006a31d52
commit 4b23900ff1

View file

@ -229,7 +229,7 @@ AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl_prog"], [Path of the OpenSSL binary]
PKG_CHECK_MODULES([OPENSSL], [libcrypto],
[AC_DEFINE([HAVE_OPENSSL], [1], [Whether to use OpenSSL.])
CXXFLAGS="$OPENSSL_CFLAGS $CXXFLAGS"
have_openssl=1], [])
have_openssl=1], [true])
AM_CONDITIONAL(HAVE_OPENSSL, test "$have_openssl" = 1)