X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=17227125a2d9eda2dc19c12d2904c7a568a8ca22;hb=94cc50d9a53c94e0a2cf0e080e461e28b678dcbb;hp=ffb06934439b807d7e8a49551e65c73e313d23ed;hpb=a775408e5d2e3b21dff741b89ff5330b397b5138;p=paraslash.git diff --git a/configure.ac b/configure.ac index ffb06934..17227125 100644 --- a/configure.ac +++ b/configure.ac @@ -63,10 +63,6 @@ AC_PATH_PROG([HELP2MAN], [help2man]) test -z "$HELP2MAN" && AC_MSG_ERROR( [help2man is required to build this package]) -AC_PATH_PROG([INSTALL], [install]) -test -z "$INSTALL" && AC_MSG_ERROR( - [The install program is required to build this package]) - AC_PROG_CC AC_PROG_CPP @@ -99,6 +95,10 @@ LIB_ARG_WITH([openssl], [-lssl -lcrypto]) AC_CHECK_HEADER(openssl/ssl.h, [], [HAVE_OPENSSL=no]) AC_CHECK_LIB([crypto], [RAND_bytes], [], [HAVE_OPENSSL=no]) LIB_SUBST_FLAGS(openssl) +if test $HAVE_OPENSSL = yes; then + AC_CHECK_LIB([crypto], [RSA_set0_key], + AC_DEFINE([HAVE_RSA_SET0_KEY], [1], [openssl-1.1])) +fi UNSTASH_FLAGS ######################################################################### gcrypt STASH_FLAGS