diff --git a/configure.ac b/configure.ac index 247d84f29..37836908a 100644 --- a/configure.ac +++ b/configure.ac @@ -330,11 +330,11 @@ AC_ARG_ENABLE([wolfprovider], ) if test "x$ENABLED_WOLFPROVIDER" != "xno" then - enable_all_crypto=yes - enable_opensslcoexist=yes - enable_sha=yes - enable_eccminsz=192 - with_max_ecc_bits=1024 + test -z "$enable_all_crypto" && enable_all_crypto=yes + test -z "$enable_opensslcoexist" && enable_opensslcoexist=yes + test -z "$enable_sha" && enable_sha=yes + test -z "$enable_eccminsz" && enable_eccminsz=192 + test -z "$with_max_ecc_bits" && with_max_ecc_bits=1024 AM_CFLAGS="$AM_CFLAGS -DWC_RSA_NO_PADDING -DWOLFSSL_PUBLIC_MP -DHAVE_PUBLIC_FFDHE -DHAVE_FFDHE_6144 -DHAVE_FFDHE_8192 -DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER" fi