Skip to content
Snippets Groups Projects
Commit ce205582 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

configure: require OpenSSL >= 1.0.0

parent 06449112
No related branches found
No related tags found
1 merge request!146OpenSSL version check
......@@ -276,12 +276,21 @@ AS_IF([test "$with_openssl" != "no"],[
LIBS="$save_LIBS"
done
AS_IF([test "$with_openssl" = "no"],[
AC_MSG_ERROR([libcrypto (part of OpenSSL) is required])
])
])
])
AS_IF([test "$with_openssl" = "no"],[
AC_MSG_ERROR([OpenSSL library is required.])
])
AC_EGREP_CPP(openssl_version_ok,
[#include <openssl/crypto.h>
#if (OPENSSL_VERSION_NUMBER >= 0x1000000fL)
openssl_version_ok
#endif
],[],[AC_MSG_ERROR([OpenSSL library version >= 1.0.0 is required.])]
)
AC_ARG_WITH(libidn, AC_HELP_STRING([--with-libidn=[DIR]],
[Support IDN (needs GNU Libidn)]),
libidn=$withval, libidn=yes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment