]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
configure.ac: Fix ENABLE_IMA_VERIFICATION conditional
authorAaron Merey <amerey@redhat.com>
Tue, 29 Oct 2024 18:16:57 +0000 (14:16 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 29 Oct 2024 18:16:57 +0000 (14:16 -0400)
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

index 072bd4e226d162fc348113792b365113dcdc6b27..380ff0605be1950b6fd9f1a96c5e2b714691fdf5 100644 (file)
@@ -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])])