aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-04 16:07:09 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-04 16:37:49 +0100
commita6ca68a70c3bc0b2e6abad70346c99642a896f9f (patch)
tree13479db1389cbfa852b822517b7ac82c5630039c /configure.ac
parent85aeedb9bce365a8eef09a88f0e47c8fd4b21128 (diff)
Require OpenSSL
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 686954565..88e64573d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,16 +183,12 @@ AC_ARG_WITH(store-dir, AC_HELP_STRING([--with-store-dir=PATH],
AC_SUBST(storedir)
-# Look for OpenSSL, an optional dependency.
+# Look for OpenSSL, a required dependency.
AC_PATH_PROG(openssl, openssl, openssl) # if not found, call openssl in $PATH
AC_SUBST(openssl)
AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl"], [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=])
-AC_SUBST(HAVE_OPENSSL, [$have_openssl])
+PKG_CHECK_MODULES([OPENSSL], [libcrypto], [CXXFLAGS="$OPENSSL_CFLAGS $CXXFLAGS"])
# Look for libbz2, a required dependency.