From f56a8d8683f92278f4efcf33a24dfde929d37b17 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Mon, 21 Nov 2016 10:13:55 +0200 Subject: [PATCH] Check for openssl/asn1.h Check for presence of openssl/asn1.h to support definition of fallback functions in later patches. --- configure | 1 + configure.ac | 1 + src/include/autoconf.h.in | 3 +++ 3 files changed, 5 insertions(+) diff --git a/configure b/configure index 39d184f..5d78f09 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 de7b88f..678bb16 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 61f8128..f1b8c17 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 -- 2.1.4