]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Regenerate for ITS#9323 require openssl 1.0.2 or later
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 31 Aug 2020 19:33:16 +0000 (19:33 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 31 Aug 2020 19:33:16 +0000 (19:33 +0000)
configure

index 4af1ab9e44fe2c6fd395895cd8d5de6b82004221..7e029561a89ed694729c6b347f54936dd970e948 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Id: 37293e618797a957ebe6b5f7b9479e9165e1362b .
+# From configure.in Id: 1c7bad4c0b18f9e988c4b161a996f5078917430e .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65.
 #
@@ -15472,6 +15472,23 @@ done
 
 
        if test $ac_cv_header_openssl_ssl_h = yes ; then
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <openssl/opensslv.h>
+                       #if OPENSSL_VERSION_NUMBER < 0x1000200fL
+                       #error "OpenSSL is too old"
+                       #endif
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "OpenSSL 1.0.2a or newer required
+See \`config.log' for more details." "$LINENO" 5; }
+fi
+rm -f conftest.err conftest.$ac_ext
+
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_set_msg_callback in -lssl" >&5
 $as_echo_n "checking for SSL_CTX_set_msg_callback in -lssl... " >&6; }
 if test "${ac_cv_lib_ssl_SSL_CTX_set_msg_callback+set}" = set; then :