From: Aaron Merey Date: Fri, 6 Sep 2024 22:32:41 +0000 (-0400) Subject: configure.ac: Restore HAVE_LIBARCHIVE X-Git-Tag: elfutils-0.192~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9fd1dda0ba6ddf7dd14ff6745ea3e884a2f553a;p=thirdparty%2Felfutils.git configure.ac: Restore HAVE_LIBARCHIVE src/srcfiles.cxx depends on the HAVE_LIBARCHIVE macro to enable the srcfiles --zip option. Defining this macro was accidentally removed from configure.ac in commit 30b5592a3. Signed-off-by: Aaron Merey --- diff --git a/configure.ac b/configure.ac index 9c5f7e51..8f5901a2 100644 --- a/configure.ac +++ b/configure.ac @@ -891,6 +891,7 @@ AM_CONDITIONAL([DUMMY_LIBDEBUGINFOD],[test "x$enable_libdebuginfod" = "xdummy"]) AS_IF([test "x$enable_debuginfod" != "xno"],AC_DEFINE([ENABLE_DEBUGINFOD],[1],[Build debuginfod])) 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([OLD_LIBMICROHTTPD],[test "x$old_libmicrohttpd" = "xyes"])