Check for openssl/conf.h
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Mon, 21 Nov 2016 08:21:33 +0000 (10:21 +0200)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 7 Dec 2016 12:03:05 +0000 (14:03 +0200)
Check for presence of openssl/conf.h to support definition of fallback
functions in later patches.

configure
configure.ac
src/include/autoconf.h.in

index 5d78f09..779c6fb 100755 (executable)
--- a/configure
+++ b/configure
@@ -8666,6 +8666,7 @@ $as_echo "#define HAVE_OPENSSL_SSL_H 1" >>confdefs.h
 
     for ac_header in \
       openssl/asn1.h \
+      openssl/conf.h \
       openssl/crypto.h \
       openssl/err.h \
       openssl/evp.h \
index 678bb16..b9fed71 100644 (file)
@@ -1105,6 +1105,7 @@ if test "x$WITH_OPENSSL" = xyes; then
 
     AC_CHECK_HEADERS( \
       openssl/asn1.h \
+      openssl/conf.h \
       openssl/crypto.h \
       openssl/err.h \
       openssl/evp.h \
index f1b8c17..e0a3e50 100644 (file)
 /* Define to 1 if you have the <openssl/asn1.h> header file. */
 #undef HAVE_OPENSSL_ASN1_H
 
+/* Define to 1 if you have the <openssl/conf.h> header file. */
+#undef HAVE_OPENSSL_CONF_H
+
 /* Define to 1 if you have the <openssl/crypto.h> header file. */
 #undef HAVE_OPENSSL_CRYPTO_H