@@ -7,55 +7,60 @@ if test "$PHP_INTL" != "no"; then
7
7
PHP_SETUP_ICU([ INTL_SHARED_LIBADD] )
8
8
PHP_SUBST([ INTL_SHARED_LIBADD] )
9
9
INTL_COMMON_FLAGS="$ICU_CFLAGS -Wno-write-strings -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"
10
- PHP_NEW_EXTENSION(intl, php_intl.c \
11
- intl_error.c \
12
- intl_convert.c \
13
- collator/collator_class.c \
14
- collator/collator_sort.c \
15
- collator/collator_convert.c \
16
- collator/collator_locale.c \
17
- collator/collator_compare.c \
18
- collator/collator_attr.c \
19
- collator/collator_create.c \
20
- collator/collator_is_numeric.c \
21
- collator/collator_error.c \
22
- common/common_error.c \
23
- converter/converter.c \
24
- formatter/formatter_main.c \
25
- formatter/formatter_class.c \
26
- formatter/formatter_attr.c \
27
- formatter/formatter_data.c \
28
- formatter/formatter_format.c \
29
- formatter/formatter_parse.c \
30
- normalizer/normalizer_class.c \
31
- normalizer/normalizer_normalize.c \
32
- locale/locale.c \
33
- locale/locale_class.c \
34
- locale/locale_methods.c \
35
- dateformat/dateformat.c \
36
- dateformat/dateformat_class.c \
37
- dateformat/dateformat_attr.c \
38
- dateformat/dateformat_data.c \
39
- dateformat/dateformat_format.c \
40
- dateformat/dateformat_parse.c \
41
- msgformat/msgformat.c \
42
- msgformat/msgformat_attr.c \
43
- msgformat/msgformat_class.c \
44
- msgformat/msgformat_data.c \
45
- msgformat/msgformat_format.c \
46
- msgformat/msgformat_parse.c \
47
- grapheme/grapheme_string.c \
48
- grapheme/grapheme_util.c \
49
- resourcebundle/resourcebundle.c \
50
- resourcebundle/resourcebundle_class.c \
51
- resourcebundle/resourcebundle_iterator.c \
52
- transliterator/transliterator_class.c \
53
- transliterator/transliterator_methods.c \
54
- uchar/uchar.c \
55
- idn/idn.c \
56
- spoofchecker/spoofchecker_class.c \
57
- spoofchecker/spoofchecker_create.c\
58
- spoofchecker/spoofchecker_main.c, $ext_shared,,$INTL_COMMON_FLAGS,cxx)
10
+ PHP_NEW_EXTENSION([ intl] , m4_normalize ( [
11
+ collator/collator_attr.c
12
+ collator/collator_class.c
13
+ collator/collator_compare.c
14
+ collator/collator_convert.c
15
+ collator/collator_create.c
16
+ collator/collator_error.c
17
+ collator/collator_is_numeric.c
18
+ collator/collator_locale.c
19
+ collator/collator_sort.c
20
+ common/common_error.c
21
+ converter/converter.c
22
+ dateformat/dateformat_attr.c
23
+ dateformat/dateformat_class.c
24
+ dateformat/dateformat_data.c
25
+ dateformat/dateformat_format.c
26
+ dateformat/dateformat_parse.c
27
+ dateformat/dateformat.c
28
+ formatter/formatter_attr.c
29
+ formatter/formatter_class.c
30
+ formatter/formatter_data.c
31
+ formatter/formatter_format.c
32
+ formatter/formatter_main.c
33
+ formatter/formatter_parse.c
34
+ grapheme/grapheme_string.c
35
+ grapheme/grapheme_util.c
36
+ idn/idn.c
37
+ intl_convert.c
38
+ intl_error.c
39
+ locale/locale_class.c
40
+ locale/locale_methods.c
41
+ locale/locale.c
42
+ msgformat/msgformat_attr.c
43
+ msgformat/msgformat_class.c
44
+ msgformat/msgformat_data.c
45
+ msgformat/msgformat_format.c
46
+ msgformat/msgformat_parse.c
47
+ msgformat/msgformat.c
48
+ normalizer/normalizer_class.c
49
+ normalizer/normalizer_normalize.c
50
+ php_intl.c
51
+ resourcebundle/resourcebundle_class.c
52
+ resourcebundle/resourcebundle_iterator.c
53
+ resourcebundle/resourcebundle.c
54
+ spoofchecker/spoofchecker_class.c
55
+ spoofchecker/spoofchecker_create.c
56
+ spoofchecker/spoofchecker_main.c
57
+ transliterator/transliterator_class.c
58
+ transliterator/transliterator_methods.c
59
+ uchar/uchar.c
60
+ ] ) ,
61
+ [ $ext_shared] ,,
62
+ [ $INTL_COMMON_FLAGS] ,
63
+ [ cxx] )
59
64
60
65
PHP_INTL_CXX_SOURCES="intl_convertcpp.cpp \
61
66
common/common_enum.cpp \
0 commit comments