diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-08 22:00:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-08 22:00:33 +0000 |
commit | 04feebd31995270dc7dadba6b82c74abd1ee6ac4 (patch) | |
tree | ed48507cbbac4f86ca0e466f8e90c8a2a74fcf1a /Build/source/libs/icu/icu-4.4/configure.in | |
parent | f94d617d9f7b79ed192f5f109ca2e237ea5afdd7 (diff) |
provide and call new configure option --disable-utf16-string-check, so xetex/bibtexu will compile under gcc 4.4+; tlbuild 7 Apr 2010 15:34:47
git-svn-id: svn://tug.org/texlive/trunk@17756 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/icu-4.4/configure.in')
-rw-r--r-- | Build/source/libs/icu/icu-4.4/configure.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.4/configure.in b/Build/source/libs/icu/icu-4.4/configure.in index 6289fa2c91b..aef320e7680 100644 --- a/Build/source/libs/icu/icu-4.4/configure.in +++ b/Build/source/libs/icu/icu-4.4/configure.in @@ -963,7 +963,28 @@ if test $U_SIZEOF_WCHAR_T = 0; then fi AC_SUBST(U_SIZEOF_WCHAR_T) +AC_MSG_CHECKING([whether to check for UTF-16 string literal support]) +enabled=yes +U_ENABLE_UTF16_STRING_CHECK=1 +AC_ARG_ENABLE(utf16-string-check, + [ --enable-utf16-string-check enable testing for UTF-16 string literal support [default=yes]], + [ case "${enableval}" in + yes|"") enabled=yes; U_ENABLE_UTF16_STRING_CHECK=1 ;; + no) enabled=no; U_ENABLE_UTF16_STRING_CHECK=0 ;; + *) ;; + esac], +) +AC_MSG_RESULT($enabled) +AC_SUBST(U_ENABLE_UTF16_STRING_CHECK) + + AC_MSG_CHECKING([for UTF-16 string literal support]) +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" @@ -1048,6 +1069,7 @@ GCC IS TOO OLD! fi fi fi +fi AC_SUBST(U_CHECK_GNUC_UTF16_STRING) AC_MSG_RESULT($CHECK_UTF16_STRING_RESULT) |