com php-src: Fix pkg-config version constraint for ICU: acinclude.m4
| From: | Nikita Popov | Date: | Mon, 02 Sep 2019 07:36:20 +0000 |
| Subject: | com php-src: Fix pkg-config version constraint for ICU: acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108173@lists.php.net to get a copy of this message | ||
Commit: 5a0980f1d92ed96c45c93a25a30bfa0919831f11
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 2 Sep 2019 09:36:20 +0200
Parents: 8f564e5308970e3c1b96fd17e493c5c3a952954b
Branches: PHP-7.2 PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5a0980f1d92ed96c45c93a25a30bfa0919831f11
Log:
Fix pkg-config version constraint for ICU
On PHP 7.2 our minimum ICU version is 4.0, not 40.
Changed paths:
M acinclude.m4
Diff:
diff --git a/acinclude.m4 b/acinclude.m4
index 15340b4..3f3cbd3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2207,7 +2207,7 @@ AC_DEFUN([PHP_SETUP_ICU],[
dnl If pkg-config is found try using it
if test "$PHP_ICU_DIR" = "DEFAULT" && test -x "$PKG_CONFIG"
&& $PKG_CONFIG --exists icu-uc icu-io icu-i18n; then
- if $PKG_CONFIG --atleast-version=40 icu-uc; then
+ if $PKG_CONFIG --atleast-version=4.0 icu-uc; then
found_icu=yes
icu_version_full=
$PKG_CONFIG --modversion icu-uc
ac_IFS=$IFS