add HAVE_EX_DATA, OPENSSL_ALL, HAVE_ALPN to enable-jni configure option

This commit is contained in:
Chris Conlon
2020-08-05 15:43:26 -06:00
parent d12b80abdf
commit e5e87db6aa

View File

@ -3424,7 +3424,7 @@ AC_ARG_ENABLE([jni],
)
if test "$ENABLED_JNI" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_JNI"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_JNI -DHAVE_EX_DATA"
# Enable prereqs if not already enabled
if test "x$ENABLED_DTLS" = "xno"
@ -3437,6 +3437,11 @@ then
ENABLED_OPENSSLEXTRA="yes"
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_EXTRA"
fi
if test "x$ENABLED_OPENSSLALL" = "xno"
then
ENABLED_OPENSSLALL="yes"
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_ALL"
fi
if test "x$ENABLED_CRL" = "xno"
then
ENABLED_CRL="yes"
@ -3506,6 +3511,11 @@ then
ENABLED_SNI="yes"
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI"
fi
if test "x$ENABLED_ALPN" = "xno"
then
ENABLED_ALPN="yes"
AM_CFLAGS="$AM_CFLAGS -DHAVE_ALPN"
fi
fi
# lighty Support