tony2001 Mon Jan 15 14:03:55 2007 UTC Modified files: /php-src acinclude.m4 Log: improve icu-config check http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.358&r2=1.359&diff_format=u Index: php-src/acinclude.m4 diff -u php-src/acinclude.m4:1.358 php-src/acinclude.m4:1.359 --- php-src/acinclude.m4:1.358 Fri Jan 12 19:13:07 2007 +++ php-src/acinclude.m4 Mon Jan 15 14:03:55 2007 @@ -1,5 +1,5 @@ dnl -dnl $Id: acinclude.m4,v 1.358 2007/01/12 19:13:07 andrei Exp $ +dnl $Id: acinclude.m4,v 1.359 2007/01/15 14:03:55 tony2001 Exp $ dnl dnl This file contains local autoconf functions. dnl @@ -2121,9 +2121,9 @@ 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])
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php