configure.ac: allow --enable-opensslextra with --enable-linuxkm if --enable-cryptonly is also given.

This commit is contained in:
Daniel Pouzzner 2022-07-20 18:21:29 -05:00
parent 3842889649
commit a3fd714501

View File

@ -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.])