pajoye Tue, 15 Feb 2011 08:48:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308353
Log: - fix intl build with ICU < 4.2, windows part Changed paths: U php/php-src/trunk/ext/intl/config.w32 Modified: php/php-src/trunk/ext/intl/config.w32 =================================================================== --- php/php-src/trunk/ext/intl/config.w32 2011-02-15 08:28:22 UTC (rev 308352) +++ php/php-src/trunk/ext/intl/config.w32 2011-02-15 08:48:24 UTC (rev 308353) @@ -71,12 +71,17 @@ resourcebundle_class.c \ resourcebundle_iterator.c", "intl"); - ADD_SOURCES(configure_module_dirname + "/spoofchecker", "\ - spoofchecker.c \ - spoofchecker_class.c \ - spoofchecker_create.c \ - spoofchecker_main.c", - "intl"); + + if (CHECK_HEADER_ADD_INCLUDE("unicode/uspoof.h", "CFLAGS_INTL")) { + ADD_SOURCES(configure_module_dirname + "/spoofchecker", "\ + spoofchecker.c \ + spoofchecker_class.c \ + spoofchecker_create.c \ + spoofchecker_main.c", + "intl"); + AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled"); + } + ADD_SOURCES(configure_module_dirname + "/transliterator", "\ transliterator.c \ transliterator_class.c \
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php