diff --git a/configure.ac b/configure.ac index a04993f..2a3abf7 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AS_CASE([$host_os], [PLATFORM="nix"]) PKG_CHECK_MODULES([openssl], [openssl], [], - [AC_CHECK_HEADER(openssl/ssl.h, [openssl_LIBS="-lssl"], [AC_MSG_ERROR([openssl not found; openssl required])])]) + [AC_CHECK_HEADER(openssl/ssl.h, [openssl_LIBS="-lssl -lcrypto"], [AC_MSG_ERROR([openssl not found; openssl required])])]) PKG_CHECK_MODULES([check], [check >= 0.9.4], [], [AC_MSG_WARN([libcheck not found; unit tests will not be compilable])])