Fix of configure --enable-openssl-base processing

This commit is contained in:
Gerhard Rieger 2023-11-06 21:24:33 +01:00
parent d605ab57f5
commit 5ee79624b6
2 changed files with 5 additions and 1 deletions

View file

@ -243,6 +243,9 @@ Porting:
Renewed port to OpenBSD: Renewed port to OpenBSD:
Guard OPENSSL_INIT_SETTINGS; and minor changes. Guard OPENSSL_INIT_SETTINGS; and minor changes.
Thanks to Paul Hunt for sending a fix of the configure
--enable-openssl-base processing.
Testing: Testing:
Removed obselete parts from test.sh Removed obselete parts from test.sh

View file

@ -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 "$WITH_OPENSSL"; then
if test -n "$OPENSSL_BASE"; 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 else
AC_MSG_NOTICE(checking for components of OpenSSL) AC_MSG_NOTICE(checking for components of OpenSSL)
# first, we need to find the include file <openssl/ssl.h> # first, we need to find the include file <openssl/ssl.h>