From: Nikolai Kondrashov Date: Mon, 21 Nov 2016 08:13:55 +0000 (+0200) Subject: Check for openssl/asn1.h X-Git-Tag: release_3_0_13~92^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f56a8d8683f92278f4efcf33a24dfde929d37b17;p=thirdparty%2Ffreeradius-server.git Check for openssl/asn1.h Check for presence of openssl/asn1.h to support definition of fallback functions in later patches. --- diff --git a/configure b/configure index 39d184f4d37..5d78f09d68a 100755 --- 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 \ diff --git a/configure.ac b/configure.ac index de7b88facb1..678bb167191 100644 --- a/configure.ac +++ b/configure.ac @@ -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 header file.]) AC_CHECK_HEADERS( \ + openssl/asn1.h \ openssl/crypto.h \ openssl/err.h \ openssl/evp.h \ diff --git a/src/include/autoconf.h.in b/src/include/autoconf.h.in index 61f812840a2..f1b8c1718b0 100644 --- a/src/include/autoconf.h.in +++ b/src/include/autoconf.h.in @@ -248,6 +248,9 @@ /* Define to 1 if you have the `openat' function. */ #undef HAVE_OPENAT +/* Define to 1 if you have the header file. */ +#undef HAVE_OPENSSL_ASN1_H + /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_CRYPTO_H