X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=a03b5ce55d5e8bd3325f2d2b71dbf42d07de47fa;hp=325a733a2a5d526694bbdd5b58a7cf8d452d4414;hb=2524aa23a092893259545d19b9e46d4d0d673061;hpb=96a75100d8f9c4c6b4ba8cc0d5b8889158cb5f58 diff --git a/configure.ac b/configure.ac index 325a733..a03b5ce 100644 --- a/configure.ac +++ b/configure.ac @@ -483,6 +483,12 @@ if test "x$have_fopencookie" = "xyes"; then AC_DEFINE([HAVE_FOPENCOOKIE], 1) fi +dnl OpenSSL support +PKG_CHECK_MODULES([OPENSSL], [openssl], [have_openssl="yes"], [have_openssl="no"]) +if test "x$have_openssl" != "xyes"; then + AC_MSG_ERROR([OpenSSL not found]) +fi + dnl readline support AC_ARG_WITH([readline], [AS_HELP_STRING([--with-readline], @@ -720,6 +726,7 @@ AC_MSG_RESULT() AC_MSG_RESULT([ Libraries:]) AC_MSG_RESULT([ libdbi: . . . . . . . . . . $with_libdbi]) AC_MSG_RESULT([ libedit: . . . . . . . . . $have_libedit]) +AC_MSG_RESULT([ libopenssl: . . . . . . . . $have_openssl]) AC_MSG_RESULT([ libreadline: . . . . . . . $have_libreadline]) AC_MSG_RESULT([ librrd: . . . . . . . . . . $have_librrd]) AC_MSG_RESULT()