From: Steffan Karger Date: Thu, 23 Feb 2017 10:35:38 +0000 (+0100) Subject: OpenSSL: 1.1 fallout - fix configure on old autoconf X-Git-Tag: v2.4.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b97a5cc044dc6db3f0e1f9f06a6f5da522f0a33a;p=thirdparty%2Fopenvpn.git OpenSSL: 1.1 fallout - fix configure on old autoconf Older versions of autoconf generate an empty "else fi" block for empty fields in an AC_CHECK_FUNCS() macro. This breaks on e.g. RHEL6. Signed-off-by: Steffan Karger Acked-by: Gert Doering Message-Id: <1487846138-22231-1-git-send-email-steffan.karger@fox-it.com> URL: http://www.mail-archive.com/search?l=mid&q=1487846138-22231-1-git-send-email-steffan.karger@fox-it.com Signed-off-by: Gert Doering (cherry picked from commit 07372a0fdeb3638204d197d0614f776a0eb73ab9) --- diff --git a/configure.ac b/configure.ac index 789ad08fb..0c55d7832 100644 --- a/configure.ac +++ b/configure.ac @@ -905,9 +905,7 @@ if test "${enable_crypto}" = "yes" -a "${with_crypto_library}" = "openssl"; then X509_STORE_get0_objects \ X509_OBJECT_free \ X509_OBJECT_get_type \ - ], - , - [] + ] ) CFLAGS="${saved_CFLAGS}"