mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix pkg-config version constraint for ICU
On PHP 7.2 our minimum ICU version is 4.0, not 40.
This commit is contained in:
parent
8f564e5308
commit
5a0980f1d9
1 changed files with 1 additions and 1 deletions
|
@ -2207,7 +2207,7 @@ AC_DEFUN([PHP_SETUP_ICU],[
|
||||||
|
|
||||||
dnl If pkg-config is found try using it
|
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 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
|
found_icu=yes
|
||||||
icu_version_full=`$PKG_CONFIG --modversion icu-uc`
|
icu_version_full=`$PKG_CONFIG --modversion icu-uc`
|
||||||
ac_IFS=$IFS
|
ac_IFS=$IFS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue