summaryrefslogtreecommitdiffstats
path: root/config.m4
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-03 15:11:33 +0200
committerRemi Collet <remi@php.net>2024-09-03 15:11:33 +0200
commit773649c7cfcdcadf6c1d6f0cdfe8c9b6b8b3207b (patch)
treef28d7bef7fa94085f0268a5c33f0da1dd3f5fefd /config.m4
parent56b4819dca246f6b2eeaee986c9f8af7fa982ccb (diff)
drop support for librpm < 4.13
Diffstat (limited to 'config.m4')
-rw-r--r--config.m49
1 files changed, 1 insertions, 8 deletions
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)