From: Alexander Köplinger Date: Mon, 3 Aug 2020 14:05:00 +0000 (+0200) Subject: Fix ICU_CFLAGS in mono configure.ac (#40263) X-Git-Tag: submit/tizen/20210909.063632~6266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3b82558eb5711ff65a0f21aab556599bf5a4cba;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix ICU_CFLAGS in mono configure.ac (#40263) We need to set these defines so we don't use obsolete ICU functions and cause warnings, just like we do in the CMakeLists.txt version.. --- diff --git a/src/mono/configure.ac b/src/mono/configure.ac index 1c8d9cc..8a9996e 100644 --- a/src/mono/configure.ac +++ b/src/mono/configure.ac @@ -6884,7 +6884,7 @@ if test x$with_core = xonly; then if test x$have_shim_globalization = xyes || test x$cross_compiling = xyes; then ICU_SHIM_PATH=../../../libraries/Native/Unix/System.Globalization.Native if test x$target_wasm = xyes && test x$with_static_icu = xyes; then - ICU_CFLAGS="-DTARGET_UNIX -DU_DISABLE_RENAMING" + ICU_CFLAGS="-DTARGET_UNIX -DU_DISABLE_RENAMING -DHAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -DHAVE_SET_MAX_VARIABLE" have_sys_icu=yes elif test x$target_osx = xyes; then ORIG_CPPFLAGS=$CPPFLAGS