[COMMITTED] configure.ac: Fix ENABLE_IMA_VERIFICATION conditional

Message ID 20241029182506.218659-1-amerey@redhat.com
State Committed
Headers
Series [COMMITTED] configure.ac: Fix ENABLE_IMA_VERIFICATION conditional |

Commit Message

Aaron Merey Oct. 29, 2024, 6:25 p.m. UTC
  Fix test statement for ENABLE_IMA_VERIFICATION always evalutating to
false due to a missing 'x'.

Signed-off-by: Aaron Merey <amerey@redhat.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/configure.ac b/configure.ac
index 072bd4e2..380ff060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -891,7 +891,7 @@  AS_IF([test "x$enable_debuginfod" != "xno"],AC_DEFINE([ENABLE_DEBUGINFOD],[1],[B
 AM_CONDITIONAL([DEBUGINFOD],[test "x$enable_debuginfod" = "xyes"])
 AS_IF([test "x$enable_debuginfod_ima_verification" = "xyes"],AC_DEFINE([ENABLE_IMA_VERIFICATION],[1],[Build IMA verification]))
 AS_IF([test "x$have_libarchive" = "xyes"],AC_DEFINE([HAVE_LIBARCHIVE],[1],[Define to 1 if libarchive is available]))
-AM_CONDITIONAL([ENABLE_IMA_VERIFICATION],[test "$enable_debuginfod_ima_verification" = "xyes"])
+AM_CONDITIONAL([ENABLE_IMA_VERIFICATION],[test "x$enable_debuginfod_ima_verification" = "xyes"])
 AM_CONDITIONAL([OLD_LIBMICROHTTPD],[test "x$old_libmicrohttpd" = "xyes"])
 
 AC_CHECK_LIB(pthread, pthread_setname_np, [AC_DEFINE([HAVE_PTHREAD_SETNAME_NP],[1],[Enable pthread_setname_np])])