]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
configure.ac: Restore HAVE_LIBARCHIVE
authorAaron Merey <amerey@redhat.com>
Fri, 6 Sep 2024 22:32:41 +0000 (18:32 -0400)
committerAaron Merey <amerey@redhat.com>
Fri, 6 Sep 2024 22:43:06 +0000 (18:43 -0400)
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 <amerey@redhat.com>
configure.ac

index 9c5f7e510c5b9d1794e5dea6fc802bf20f1192f2..8f5901a2af7cb84629f8faea60196cb067d408f1 100644 (file)
@@ -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"])