diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-03 15:11:33 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-03 15:11:33 +0200 |
commit | 773649c7cfcdcadf6c1d6f0cdfe8c9b6b8b3207b (patch) | |
tree | f28d7bef7fa94085f0268a5c33f0da1dd3f5fefd /config.m4 | |
parent | 56b4819dca246f6b2eeaee986c9f8af7fa982ccb (diff) |
drop support for librpm < 4.13
Diffstat (limited to 'config.m4')
-rw-r--r-- | config.m4 | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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) |