diff options
Diffstat (limited to 'Build/source/libs/icu/icu-4.4/configure')
-rwxr-xr-x | Build/source/libs/icu/icu-4.4/configure | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-4.4/configure b/Build/source/libs/icu/icu-4.4/configure index c91b1cc6f77..307ba397164 100755 --- a/Build/source/libs/icu/icu-4.4/configure +++ b/Build/source/libs/icu/icu-4.4/configure @@ -656,6 +656,7 @@ ICUIO_TRUE EXTRAS_TRUE U_CHECK_UTF16_STRING U_CHECK_GNUC_UTF16_STRING +U_ENABLE_UTF16_STRING_CHECK U_SIZEOF_WCHAR_T U_HAVE_WCSCPY U_HAVE_WCHAR_H @@ -804,6 +805,7 @@ enable_rpath enable_threads enable_weak_threads with_iostream +enable_utf16_string_check enable_extras enable_icuio enable_layout @@ -1462,6 +1464,7 @@ Optional Features: --enable-rpath use rpath when linking default is only if necessary --enable-threads build ICU with thread safety default=yes --enable-weak-threads weakly reference the threading library default=no + --enable-utf16-string-check enable testing for UTF-16 string literal support default=yes --enable-extras build ICU extras default=yes --enable-icuio build ICU's icuio library default=yes --enable-layout build ICU's layout library default=yes @@ -10979,8 +10982,32 @@ $as_echo "$as_me: error: There is wchar.h but the size of wchar_t is 0" >&2;} fi +{ $as_echo "$as_me:$LINENO: checking whether to check for UTF-16 string literal support" >&5 +$as_echo_n "checking whether to check for UTF-16 string literal support... " >&6; } +enabled=yes +U_ENABLE_UTF16_STRING_CHECK=1 +# Check whether --enable-utf16-string-check was given. +if test "${enable_utf16_string_check+set}" = set; then + enableval=$enable_utf16_string_check; case "${enableval}" in + yes|"") enabled=yes; U_ENABLE_UTF16_STRING_CHECK=1 ;; + no) enabled=no; U_ENABLE_UTF16_STRING_CHECK=0 ;; + *) ;; + esac +fi + +{ $as_echo "$as_me:$LINENO: result: $enabled" >&5 +$as_echo "$enabled" >&6; } + + + { $as_echo "$as_me:$LINENO: checking for UTF-16 string literal support" >&5 $as_echo_n "checking for UTF-16 string literal support... " >&6; } +if test $U_ENABLE_UTF16_STRING_CHECK = 0; then +U_CHECK_UTF16_STRING=0 +U_CHECK_GNUC_UTF16_STRING=0 +CHECK_UTF16_STRING_RESULT="check disabled" + +else # do the UTF16 literal checks U_CHECK_UTF16_STRING=1 CHECK_UTF16_STRING_RESULT="unknown" @@ -11188,6 +11215,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi fi +fi { $as_echo "$as_me:$LINENO: result: $CHECK_UTF16_STRING_RESULT" >&5 @@ -12164,7 +12192,7 @@ $debug || if test -n "$CONFIG_FILES"; then -ac_cr=`echo X |tr X "\015"` +ac_cr='
' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' |