diff --git a/configure.ac b/configure.ac index b2a882e6e..8f7a7b3c1 100644 --- a/configure.ac +++ b/configure.ac @@ -5171,6 +5171,10 @@ AS_IF([test "x$FIPS_VERSION" = "xrand"],[ENABLED_CRYPTONLY="yes"]) if test "$ENABLED_CRYPTONLY" = "yes" then + if test "$ENABLED_OPENSSLEXTRA" = "yes" + then + AC_MSG_ERROR([cryptonly and opensslextra are mutually incompatible.]) + fi AM_CFLAGS="$AM_CFLAGS -DWOLFCRYPT_ONLY" fi