From 5ee79624b6414c6b4b577a82bf8a5764e05cba84 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Mon, 6 Nov 2023 21:24:33 +0100 Subject: [PATCH] Fix of configure --enable-openssl-base processing --- CHANGES | 3 +++ configure.ac | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index c38c787..6428d60 100644 --- a/CHANGES +++ b/CHANGES @@ -243,6 +243,9 @@ Porting: Renewed port to OpenBSD: Guard OPENSSL_INIT_SETTINGS; and minor changes. + Thanks to Paul Hunt for sending a fix of the configure + --enable-openssl-base processing. + Testing: Removed obselete parts from test.sh diff --git a/configure.ac b/configure.ac index c9740eb..41a9844 100644 --- a/configure.ac +++ b/configure.ac @@ -587,7 +587,8 @@ AC_ARG_ENABLE(openssl_base, [ --enable-openssl-base specify directory with in # if test -n "$WITH_OPENSSL"; then if test -n "$OPENSSL_BASE"; then - sc_cv_have_openssl_ssl_h=yes; OPENSSL_BASE="$D" + sc_cv_have_openssl_ssl_h=yes; + CPPFLAGS="-I$OPENSSL_BASE/include $CPPFLAGS" else AC_MSG_NOTICE(checking for components of OpenSSL) # first, we need to find the include file