From 773649c7cfcdcadf6c1d6f0cdfe8c9b6b8b3207b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Sep 2024 15:11:33 +0200 Subject: drop support for librpm < 4.13 --- config.m4 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'config.m4') diff --git a/config.m4 b/config.m4 index d0e2565..abff0a9 100644 --- a/config.m4 +++ b/config.m4 @@ -5,18 +5,11 @@ PHP_ARG_ENABLE(rpminfo, whether to enable rpminfo support, if test "$PHP_RPMINFO" != "no"; then - PKG_CHECK_MODULES([LIBRPM], [rpm >= 4.11.3]) + PKG_CHECK_MODULES([LIBRPM], [rpm >= 4.13]) PHP_EVAL_LIBLINE($LIBRPM_LIBS, RPMINFO_SHARED_LIBADD) PHP_EVAL_INCLINE($LIBRPM_CFLAGS) - AC_MSG_CHECKING(for rpm >= 4.13) - PKG_CHECK_EXISTS([rpm >= 4.13], - AC_DEFINE(HAVE_ARCHIVE, 1, [ Archive reader since RPM 4.13 ]) - AC_DEFINE(HAVE_WEAKDEP, 1, [ Indexes on weak dependency field since RPM 4.13 ]) - AC_MSG_RESULT([yes]), AC_MSG_RESULT([no]) - ) - PHP_SUBST(RPMINFO_SHARED_LIBADD) PHP_NEW_EXTENSION(rpminfo, rpminfo.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) -- cgit