diff --git a/configure.ac b/configure.ac index 2b4effa89..dd3eb4f15 100644 --- a/configure.ac +++ b/configure.ac @@ -3515,6 +3515,11 @@ then ENABLED_CERTGEN="yes" AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_CERT_GEN" fi + if test "x$ENABLED_SNI" = "xno" + then + ENABLED_SNI="yes" + AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI" + fi fi # lighty Support