From d61be6f03082959acc417adee0a943bbb1217066 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 17 Sep 2020 08:55:52 -0700 Subject: [PATCH] Restore the normal `--enable-wpas` macro. --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c167c768f..b3f9eadd1 100644 --- a/configure.ac +++ b/configure.ac @@ -645,9 +645,16 @@ then AM_CFLAGS="$AM_CFLAGS -DTEST_IPV6 -DWOLFSSL_IPV6" fi -if test "$ENABLED_WPAS" != "no" +if test "$ENABLED_WPAS" = "small" then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_WPAS_SMALL" +fi +if test "$ENABLED_WPAS" = "yes" +then + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_WPAS" +fi +if test "$ENABLED_WPAS" != "no" +then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_VERIFY_CB" AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_KEEP_SNI" AM_CFLAGS="$AM_CFLAGS -DHAVE_EX_DATA"