diff options
| author | Antony Dovgal <tony2001@php.net> | 2007-01-15 14:03:55 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2007-01-15 14:03:55 +0000 |
| commit | 720f9cf1bbe4b81f93c296799a6b38101b72dfb4 (patch) | |
| tree | bb8431ac57b1f68e8e3e0116337763ec656b05e5 | |
| parent | 54cc6876097315d03764892528b77b0854f1daba (diff) | |
| download | php-git-720f9cf1bbe4b81f93c296799a6b38101b72dfb4.tar.gz | |
improve icu-config check
| -rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index a8dd9dfd42..a9ffc0d02e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2121,9 +2121,9 @@ AC_DEFUN([PHP_SETUP_ICU],[ dnl Trust icu-config to know better what the install prefix is.. icu_install_prefix=`$ICU_CONFIG --prefix 2> /dev/null` - if test -z "$icu_install_prefix"; then + if test "$?" != "0" || test -z "$icu_install_prefix"; then AC_MSG_RESULT([not found]) - AC_MSG_ERROR([Please specify the correct ICU install prefix.]) + AC_MSG_ERROR([Unable to detect ICU prefix or $ICU_CONFIG failed. Please verify ICU install prefix and make sure icu-config works.]) else AC_MSG_RESULT([found in $icu_install_prefix]) |
