aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2010-06-26 18:07:41 +0000
committerJohannes Schickel2010-06-26 18:07:41 +0000
commit58fcda82f33e3ba8f813eeac412612ae09a34c9f (patch)
tree12d706da8a48a7a937e4dc2b5221010ba6613726 /configure
parent9a0e2e9c461547b1a2d8bf32a3e7ba52853358f5 (diff)
downloadscummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.tar.gz
scummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.tar.bz2
scummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.zip
Remove support for translation of console messages.
In recent discussions on -devel it turned out, that this feature is rather superfluous and instead we should rather implement a proper error reporting in our GUI. I also removed the dependency on iconv along with this. svn-id: r50335
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 1 insertions, 30 deletions
diff --git a/configure b/configure
index d8d7ef8591..a8432fc8b8 100755
--- a/configure
+++ b/configure
@@ -2342,36 +2342,7 @@ EOF
add_to_config_h_if_yes $_detectlang '#define USE_DETECTLANG'
if test "$_detectlang" = yes ; then
- echo_n "with runtime language detection, "
-
- cat > $TMPC << EOF
-#include <langinfo.h>
-#include <iconv.h>
-int main(void) { nl_langinfo(CODESET); iconv_open(0, 0); return 0; }
-EOF
- _termconv=no
- cc_check_no_clean $LDFLAGS $CXXFLAGS && _termconv=yes
- cc_check $LDFLAGS $CXXFLAGS -liconv && LIBS="$LIBS -liconv" && _termconv=yes
-
- add_to_config_mk_if_yes $_termconv 'USE_TERMCONV = 1'
- add_to_config_h_if_yes $_termconv '#define USE_TERMCONV'
- if test "$_termconv" = yes ; then
- uses_const=no
- cat > $TMPC << EOF
-#include <iconv.h>
-int main(int argc, char **argv) {
- iconv_t iconvP;
- const char **inbuf = 0;
- iconv(iconvP, inbuf, 0, 0, 0);
- return 0;
-}
-EOF
- cc_check $LDFLAGS $LIBS $CXXFLAGS && uses_const=yes
- add_to_config_h_if_yes $uses_const '#define ICONV_USES_CONST'
- echo "with terminal conversion)"
- else
- echo "without terminal conversion)"
- fi
+ echo_n "with runtime language detection)"
else
echo "without runtime language detection)"
fi