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