008-fix-autoconf-ENABLE_IMA_VERIFICATION.patch 1.1 KB

123456789101112131415161718192021222324
  1. From f3c664d069d81a4872a1ec8241ee709f37c53e9c Mon Sep 17 00:00:00 2001
  2. From: Aaron Merey <[email protected]>
  3. Date: Tue, 29 Oct 2024 14:16:57 -0400
  4. Subject: [PATCH] configure.ac: Fix ENABLE_IMA_VERIFICATION conditional
  5. Fix test statement for ENABLE_IMA_VERIFICATION always evalutating to
  6. false due to a missing 'x'.
  7. Signed-off-by: Aaron Merey <[email protected]>
  8. ---
  9. configure.ac | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -895,7 +895,7 @@ AS_IF([test "x$enable_debuginfod" != "xn
  14. AM_CONDITIONAL([DEBUGINFOD],[test "x$enable_debuginfod" = "xyes"])
  15. AS_IF([test "x$enable_debuginfod_ima_verification" = "xyes"],AC_DEFINE([ENABLE_IMA_VERIFICATION],[1],[Build IMA verification]))
  16. AS_IF([test "x$have_libarchive" = "xyes"],AC_DEFINE([HAVE_LIBARCHIVE],[1],[Define to 1 if libarchive is available]))
  17. -AM_CONDITIONAL([ENABLE_IMA_VERIFICATION],[test "$enable_debuginfod_ima_verification" = "xyes"])
  18. +AM_CONDITIONAL([ENABLE_IMA_VERIFICATION],[test "x$enable_debuginfod_ima_verification" = "xyes"])
  19. AM_CONDITIONAL([OLD_LIBMICROHTTPD],[test "x$old_libmicrohttpd" = "xyes"])
  20. dnl for /etc/profile.d/elfutils.{csh,sh}