diff options
author | CeRiAl | 2011-06-13 04:39:38 +0200 |
---|---|---|
committer | CeRiAl | 2011-06-14 22:42:16 +0200 |
commit | 2ff4380c55d67668e743edd0a17737a0dc17402e (patch) | |
tree | 61d1973a0cafdf427cd69038336a76a699f18ae3 /configure | |
parent | e826aaab39f02360c5fa8f249ec6b788a903b948 (diff) | |
download | scummvm-rg350-2ff4380c55d67668e743edd0a17737a0dc17402e.tar.gz scummvm-rg350-2ff4380c55d67668e743edd0a17737a0dc17402e.tar.bz2 scummvm-rg350-2ff4380c55d67668e743edd0a17737a0dc17402e.zip |
WINCE: Add support for language auto-detection in WinCE
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2192,6 +2192,7 @@ if test -n "$_host"; then LDFLAGS="$LDFLAGS -Wl,--stack,65536" _tremolo=yes _backend="wince" + _detectlang=yes _mt32emu=no _port_mk="backends/platform/wince/wince.mk" ;; @@ -3083,12 +3084,14 @@ if test "$_translation" = no ; then else echo_n "yes (" - cat > $TMPC << EOF + if test "$_detectlang" != yes ; then + cat > $TMPC << EOF #include <locale.h> int main(void) { setlocale(LC_ALL, ""); return 0; } EOF - _detectlang=no - cc_check $LDFLAGS $CXXFLAGS && _detectlang=yes + _detectlang=no + cc_check $LDFLAGS $CXXFLAGS && _detectlang=yes + fi define_in_config_h_if_yes $_detectlang 'USE_DETECTLANG' if test "$_detectlang" = yes ; then |