summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 11:58:28 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 11:58:28 +0100
commita6b4789761534b572853c023954038d75c55725e (patch)
treee26cfcbba832097144185a9eb53c5af70f813563
parent5c065244a191081ce6aa081f3e873bd10a81756c (diff)
requires RPM 4.11.3 (EL-7 version)
-rw-r--r--config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config.m4 b/config.m4
index 8d117a9..ef96f22 100644
--- a/config.m4
+++ b/config.m4
@@ -10,13 +10,13 @@ if test "$PHP_RPMINFO" != "no"; then
AC_MSG_CHECKING(for librpm)
if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists rpm; then
- if $PKG_CONFIG rpm --atleast-version 4; then
+ if $PKG_CONFIG rpm --atleast-version 4.11.3; then
LIBRPM_CFLAGS=`$PKG_CONFIG rpm --cflags`
LIBRPM_LIBDIR=`$PKG_CONFIG rpm --libs`
LIBRPM_VERSON=`$PKG_CONFIG rpm --modversion`
AC_MSG_RESULT(from pkgconfig: version $LIBRPM_VERSON)
else
- AC_MSG_ERROR(system librpm is too old)
+ AC_MSG_ERROR(system librpm is too old: version 4.11.3 required)
fi
else
AC_MSG_ERROR(pkg-config not found)