From: Aaron Merey Date: Tue, 29 Oct 2024 18:16:57 +0000 (-0400) Subject: configure.ac: Fix ENABLE_IMA_VERIFICATION conditional X-Git-Tag: elfutils-0.193~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3c664d069d81a4872a1ec8241ee709f37c53e9c;p=thirdparty%2Felfutils.git configure.ac: Fix ENABLE_IMA_VERIFICATION conditional Fix test statement for ENABLE_IMA_VERIFICATION always evalutating to false due to a missing 'x'. Signed-off-by: Aaron Merey --- 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])])