From a3fd7145015dbb353efaabf4679f0b459d57c256 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Wed, 20 Jul 2022 18:21:29 -0500 Subject: [PATCH] configure.ac: allow --enable-opensslextra with --enable-linuxkm if --enable-cryptonly is also given. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 04530e819..944b04967 100644 --- a/configure.ac +++ b/configure.ac @@ -7812,8 +7812,8 @@ if test "x$ENABLED_LINUXKM" = "xyes"; then AC_SUBST([ASFLAGS_FPUSIMD_DISABLE]) AC_SUBST([ASFLAGS_FPUSIMD_ENABLE]) - if test "$ENABLED_OPENSSLEXTRA" != "no"; then - AC_MSG_ERROR([--enable-opensslextra is incompatible with --enable-linuxkm.]) + if test "$ENABLED_OPENSSLEXTRA" != "no" && test "$ENABLED_CRYPTONLY" = "no"; then + AC_MSG_ERROR([--enable-opensslextra without --enable-cryptonly is incompatible with --enable-linuxkm.]) fi if test "$ENABLED_FILESYSTEM" = "yes"; then AC_MSG_ERROR([--enable-filesystem is incompatible with --enable-linuxkm.])