]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Check for openssl/asn1.h
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Mon, 21 Nov 2016 08:13:55 +0000 (10:13 +0200)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 7 Dec 2016 12:03:04 +0000 (14:03 +0200)
Check for presence of openssl/asn1.h to support definition of fallback
functions in later patches.

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

index 39d184f4d37ab9f6b47167f5019b5c34fbc47792..5d78f09d68ac064d6676e55cf35e2ea8cf68bdc2 100755 (executable)
--- a/configure
+++ b/configure
@@ -8665,6 +8665,7 @@ $as_echo "#define HAVE_OPENSSL_SSL_H 1" >>confdefs.h
 
 
     for ac_header in \
+      openssl/asn1.h \
       openssl/crypto.h \
       openssl/err.h \
       openssl/evp.h \
index de7b88facb16e17e6691e19faae07ba91ff266d7..678bb16719171e21c7d24191d34e048e48e0bd3d 100644 (file)
@@ -1104,6 +1104,7 @@ if test "x$WITH_OPENSSL" = xyes; then
     AC_DEFINE(HAVE_OPENSSL_SSL_H, 1, [Define to 1 if you have the <openssl/ssl.h> header file.])
 
     AC_CHECK_HEADERS( \
+      openssl/asn1.h \
       openssl/crypto.h \
       openssl/err.h \
       openssl/evp.h \
index 61f812840a248ec6f761f538f12557eb280a8069..f1b8c1718b0adc498d01211e55ff16fddfdbe127 100644 (file)
 /* Define to 1 if you have the `openat' function. */
 #undef HAVE_OPENAT
 
+/* 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/crypto.h> header file. */
 #undef HAVE_OPENSSL_CRYPTO_H