From 04385f85572a562b33ab3692dad4ee91c6a30af9 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 4 Apr 2022 10:14:22 -0500 Subject: [PATCH] configure.ac: fips 140-3: don't insist on linuxkm-pie unless configuring an actual linuxkm build. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e772f3c69..8f0af3eca 100644 --- a/configure.ac +++ b/configure.ac @@ -438,9 +438,9 @@ AC_ARG_ENABLE([linuxkm-pie], if test "$ENABLED_LINUXKM_PIE" = "yes" then AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT" -elif test "$ENABLED_FIPS" = yes +elif test "$ENABLED_FIPS" = yes && test "$ENABLED_LINUXKM" = yes then - AC_MSG_ERROR([FIPS requires linuxkm-pie.]) + AC_MSG_ERROR([FIPS linuxkm requires linuxkm-pie.]) fi AC_SUBST([ENABLED_LINUXKM_PIE])