We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71f5af6 commit 6f6d608Copy full SHA for 6f6d608
1 file changed
ext/intl/config.w32
@@ -71,12 +71,17 @@ if (PHP_INTL != "no") {
71
resourcebundle_class.c \
72
resourcebundle_iterator.c",
73
"intl");
74
- ADD_SOURCES(configure_module_dirname + "/spoofchecker", "\
75
- spoofchecker.c \
76
- spoofchecker_class.c \
77
- spoofchecker_create.c \
78
- spoofchecker_main.c",
79
- "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 \
80
+ spoofchecker_main.c",
81
+ "intl");
82
+ AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");
83
+ }
84
85
ADD_SOURCES(configure_module_dirname + "/transliterator", "\
86
transliterator.c \
87
transliterator_class.c \
0 commit comments