Skip to content

Commit 5a0980f

Browse files
committed
Fix pkg-config version constraint for ICU
On PHP 7.2 our minimum ICU version is 4.0, not 40.
1 parent 8f564e5 commit 5a0980f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acinclude.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ AC_DEFUN([PHP_SETUP_ICU],[
22072207
22082208
dnl If pkg-config is found try using it
22092209
if test "$PHP_ICU_DIR" = "DEFAULT" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists icu-uc icu-io icu-i18n; then
2210-
if $PKG_CONFIG --atleast-version=40 icu-uc; then
2210+
if $PKG_CONFIG --atleast-version=4.0 icu-uc; then
22112211
found_icu=yes
22122212
icu_version_full=`$PKG_CONFIG --modversion icu-uc`
22132213
ac_IFS=$IFS

0 commit comments

Comments
 (0)