Annotation of embedaddon/php/ext/intl/config.m4, revision 1.1.1.2

1.1       misho       1: dnl config.m4 for extension intl
                      2: 
                      3: dnl ##########################################################################
                      4: dnl Initialize the extension
                      5: PHP_ARG_ENABLE(intl, whether to enable internationalization support,
                      6: [  --enable-intl           Enable internationalization support])
                      7: 
                      8: if test "$PHP_INTL" != "no"; then
                      9:   PHP_SETUP_ICU(INTL_SHARED_LIBADD)
                     10:   PHP_SUBST(INTL_SHARED_LIBADD)
                     11:   PHP_REQUIRE_CXX()
1.1.1.2 ! misho      12:   if test "$icu_version" -ge "4002"; then
        !            13:     icu_spoof_src=" spoofchecker/spoofchecker_class.c \
        !            14:     spoofchecker/spoofchecker.c\
        !            15:     spoofchecker/spoofchecker_create.c\
        !            16:     spoofchecker/spoofchecker_main.c"
        !            17:   else
        !            18:     icu_spoof_src=""
        !            19:   fi
1.1       misho      20:   PHP_NEW_EXTENSION(intl, php_intl.c \
                     21:     intl_error.c \
                     22:     intl_convert.c \
                     23:     collator/collator.c \
                     24:     collator/collator_class.c \
                     25:     collator/collator_sort.c \
                     26:     collator/collator_convert.c \
                     27:     collator/collator_locale.c \
                     28:     collator/collator_compare.c \
                     29:     collator/collator_attr.c \
                     30:     collator/collator_create.c \
                     31:     collator/collator_is_numeric.c \
                     32:     collator/collator_error.c \
                     33:     common/common_error.c \
                     34:     formatter/formatter.c \
                     35:     formatter/formatter_main.c \
                     36:     formatter/formatter_class.c \
                     37:     formatter/formatter_attr.c \
                     38:     formatter/formatter_data.c \
                     39:     formatter/formatter_format.c \
                     40:     formatter/formatter_parse.c \
                     41:     normalizer/normalizer.c \
                     42:     normalizer/normalizer_class.c \
                     43:     normalizer/normalizer_normalize.c \
                     44:     locale/locale.c \
                     45:     locale/locale_class.c \
                     46:     locale/locale_methods.c \
                     47:     dateformat/dateformat.c \
                     48:     dateformat/dateformat_class.c \
                     49:     dateformat/dateformat_attr.c \
                     50:     dateformat/dateformat_data.c \
                     51:     dateformat/dateformat_format.c \
                     52:     dateformat/dateformat_parse.c \
                     53:     msgformat/msgformat.c \
                     54:     msgformat/msgformat_attr.c \
                     55:     msgformat/msgformat_class.c \
                     56:     msgformat/msgformat_data.c  \
                     57:     msgformat/msgformat_format.c \
                     58:     msgformat/msgformat_helpers.cpp \
                     59:     msgformat/msgformat_parse.c \
                     60:     grapheme/grapheme_string.c \
                     61:     grapheme/grapheme_util.c \
                     62:     resourcebundle/resourcebundle.c \
                     63:     resourcebundle/resourcebundle_class.c \
                     64:     resourcebundle/resourcebundle_iterator.c \
1.1.1.2 ! misho      65:     transliterator/transliterator.c \
        !            66:     transliterator/transliterator_class.c \
        !            67:     transliterator/transliterator_methods.c \
        !            68:     idn/idn.c \
        !            69:     $icu_spoof_src, $ext_shared,,$ICU_INCS)
1.1       misho      70:   PHP_ADD_BUILD_DIR($ext_builddir/collator)
                     71:   PHP_ADD_BUILD_DIR($ext_builddir/common)
                     72:   PHP_ADD_BUILD_DIR($ext_builddir/formatter)
                     73:   PHP_ADD_BUILD_DIR($ext_builddir/normalizer)
                     74:   PHP_ADD_BUILD_DIR($ext_builddir/dateformat)
                     75:   PHP_ADD_BUILD_DIR($ext_builddir/locale)
                     76:   PHP_ADD_BUILD_DIR($ext_builddir/msgformat)
                     77:   PHP_ADD_BUILD_DIR($ext_builddir/grapheme)
                     78:   PHP_ADD_BUILD_DIR($ext_builddir/resourcebundle)
1.1.1.2 ! misho      79:   PHP_ADD_BUILD_DIR($ext_builddir/transliterator)
1.1       misho      80:   PHP_ADD_BUILD_DIR($ext_builddir/idn)
1.1.1.2 ! misho      81:   PHP_ADD_BUILD_DIR($ext_builddir/spoofchecker)
1.1       misho      82: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>