From 64bfe81ff5b87b63cd772ccb4473fc1da94d05dc Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 26 Aug 2021 15:59:29 -0500 Subject: [PATCH] configure.ac: test for cryptonly && opensslextra, if so error "mutually incompatible". --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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