]> granicus.if.org Git - php/commitdiff
Fix pkg-config version constraint for ICU
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 2 Sep 2019 07:36:20 +0000 (09:36 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 2 Sep 2019 07:36:20 +0000 (09:36 +0200)
On PHP 7.2 our minimum ICU version is 4.0, not 40.

acinclude.m4

index 15340b48a9f2bf9ca7ead1910560a21fe62ed091..3f3cbd388831a7aa0a6d0a7a5f8ad540de8be000 100644 (file)
@@ -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