Fix of configure --enable-openssl-base processing
diff --git a/CHANGES b/CHANGES
index c38c787..6428d60 100644
--- a/CHANGES
+++ b/CHANGES
@@ -243,6 +243,9 @@
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 @@
#
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 <openssl/ssl.h>