From 6e020e66e0e454e8c7f1eeb17e85b90262e95386 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 31 Jul 2012 01:35:53 +0200 Subject: mp_msg: remove filename_recode This was intended for translating filenames from filesystem charset to the terminal charset. Modern sane platforms use UTF-8 for everything, and on Windows we use unicode APIs, so this is not needed anymore. Remove filename_recode, all uses of it, options and configure checks related to terminal output charset, and code that tries to determine the same. --- configure | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 0b7d3690f7..2fdab8cb63 100755 --- a/configure +++ b/configure @@ -292,7 +292,6 @@ Optional features: --enable-termcap use termcap database for key codes [autodetect] --enable-termios use termios database for key codes [autodetect] --disable-iconv disable iconv for encoding conversion [autodetect] - --disable-langinfo do not use langinfo [autodetect] --enable-lirc enable LIRC (remote control) support [autodetect] --enable-lircc enable LIRCCD (LIRC client daemon) input [autodetect] --enable-joystick enable joystick support [disable] @@ -394,7 +393,6 @@ Audio output: Language options: --enable-translation enable support for translated output [disable] - --charset=charset convert the console messages to this character set --language-doc=lang language to use for the documentation [en] --language-man=lang language to use for the man pages [en] --language-msg=lang extra languages for program messages [all] @@ -475,7 +473,6 @@ _caca=auto _dvb=auto _v4l2=auto _iconv=auto -_langinfo=auto _ossaudio=auto _rsound=auto _pulse=auto @@ -537,7 +534,6 @@ _directfb=auto #language=en _shm=auto _translation=no -_charset="UTF-8" _libdv=auto _cdda=auto _cddb=auto @@ -635,9 +631,6 @@ for ac_option do --windres=*) _windres=$(echo $ac_option | cut -d '=' -f 2) ;; - --charset=*) - _charset=$(echo $ac_option | cut -d '=' -f 2) - ;; --language-doc=*) language_doc=$(echo $ac_option | cut -d '=' -f 2) ;; @@ -716,8 +709,6 @@ for ac_option do --disable-v4l2) _v4l2=no ;; --enable-iconv) _iconv=yes ;; --disable-iconv) _iconv=no ;; - --enable-langinfo) _langinfo=yes ;; - --disable-langinfo) _langinfo=no ;; --enable-libdv) _libdv=yes ;; --disable-libdv) _libdv=no ;; --enable-ossaudio) _ossaudio=yes ;; @@ -1388,19 +1379,6 @@ else fi -echocheck "langinfo" -if test "$_langinfo" = auto ; then - _langinfo=no - statement_check langinfo.h 'nl_langinfo(CODESET)' && _langinfo=yes -fi -if test "$_langinfo" = yes ; then - def_langinfo='#define HAVE_LANGINFO 1' -else - def_langinfo='#undef HAVE_LANGINFO' -fi -echores "$_langinfo" - - echocheck "translation support" if test "$_translation" = yes; then def_translation="#define CONFIG_TRANSLATION 1" @@ -3939,13 +3917,6 @@ fi echores "$_sortsub" -if test "$_charset" != "noconv" ; then - def_charset="#define MSG_CHARSET \"$_charset\"" -else - def_charset="#undef MSG_CHARSET" - _charset="UTF-8" -fi - ############################################################################# echocheck "compiler support for noexecstack" @@ -4087,7 +4058,6 @@ export LC_ALL = C CONFIGURATION = $configuration -CHARSET = $_charset DOC_LANGS = $language_doc DOC_LANG_ALL = $doc_lang_all MAN_LANGS = $language_man @@ -4334,7 +4304,6 @@ $def_winsock2_h $def_gethostbyname2 $def_gettimeofday $def_glob -$def_langinfo $def_lrintf $def_nanosleep $def_posix_select @@ -4366,7 +4335,6 @@ $def_restrict_keyword /* configurable options */ -$def_charset $def_debug $def_sortsub $def_stream_cache -- cgit v1.2.3