[COMMITTED] configure.ac: Restore HAVE_LIBARCHIVE

Message ID 20240906224341.1386494-1-amerey@redhat.com
State Committed
Headers
Series [COMMITTED] configure.ac: Restore HAVE_LIBARCHIVE |

Commit Message

Aaron Merey Sept. 6, 2024, 10:43 p.m. UTC
  src/srcfiles.cxx depends on the HAVE_LIBARCHIVE macro to enable the
srcfiles --zip option.  The defining of this macro was accidentally
removed from configure.ac in commit 30b5592a3.

Signed-off-by: Aaron Merey <amerey@redhat.com>
---
Committing as obvious

 configure.ac | 1 +
 1 file changed, 1 insertion(+)
  

Patch

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"])