--- embedaddon/php/ext/intl/config.w32 2012/02/21 23:47:56 1.1.1.1 +++ embedaddon/php/ext/intl/config.w32 2012/05/29 12:34:40 1.1.1.2 @@ -1,4 +1,4 @@ -// $Id: config.w32,v 1.1.1.1 2012/02/21 23:47:56 misho Exp $ +// $Id: config.w32,v 1.1.1.2 2012/05/29 12:34:40 misho Exp $ // vim:ft=javascript ARG_ENABLE("intl", "Enable internationalization support", "no"); @@ -70,6 +70,22 @@ if (PHP_INTL != "no") { resourcebundle.c \ resourcebundle_class.c \ resourcebundle_iterator.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 \ + transliterator_methods.c", "intl"); ADD_FLAG("LIBS_INTL", "icudt.lib icuin.lib icuio.lib icule.lib iculx.lib"); AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");