From e5e87db6aa73ab54fe52ab6ab10fdeb6de381588 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Wed, 5 Aug 2020 15:43:26 -0600 Subject: [PATCH] add HAVE_EX_DATA, OPENSSL_ALL, HAVE_ALPN to enable-jni configure option --- configure.ac | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c04a092e6..710f61100 100644 --- a/configure.ac +++ b/configure.ac @@ -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