diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-20 13:22:53 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-20 13:22:53 +0000 |
commit | 6e450282a69f5437b737872d798c611cbe7064ad (patch) | |
tree | c72b2eb58f623ef4ee75c745e8bda5361ddc470b /configure | |
parent | 6974dfae6b1db5ed81cfc66ae721f8a36d42bfda (diff) |
remove all setlocale calls, they break the behaviour of sscanf and
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -1382,7 +1382,6 @@ _shm=auto _linux_devfs=no _i18n=auto _dynamic_plugins=no -_setlocale=auto _crash_debug=auto _sighandler=yes _libdv=auto @@ -1428,8 +1427,6 @@ for ac_option do --disable-i18n) _i18n=no ;; --enable-dynamic-plugins) _dynamic_plugins=yes ;; --disable-dynamic-plugins) _dynamic_plugins=no ;; - --enable-setlocale) _setlocale=yes ;; - --disable-setlocale) _setlocale=no ;; --enable-x11) _x11=yes ;; --disable-x11) _x11=no ;; --enable-xv) _xv=yes ;; @@ -2179,26 +2176,6 @@ else fi -# Checking for setlocale() ... -# CSAK EGY MARADHAT - A HEGYLAKO -# Nemnem. a TV Maci ! -echocheck "setlocale()" -if test "$_setlocale" = auto ; then - cat > $TMPC <<EOF -#include <locale.h> -int main(void) { setlocale( LC_ALL,"" ); return 0; } -EOF - _setlocale=no - cc_check && _setlocale=yes -fi -if test "$_setlocale" = yes ; then - _def_setlocale='#define USE_SETLOCALE 1' -else - _def_setlocale='#undef USE_SETLOCALE' -fi -echores "$_setlocale" - - echocheck "iconv" if test "$_iconv" = auto ; then _iconv_tmp='#include <iconv.h>' @@ -6834,9 +6811,6 @@ $_def_i18n # define MAP_FAILED ((void *) -1) #endif -/* use setlocale() function */ -$_def_setlocale - /* Runtime CPU detection */ $_def_runtime_cpudetection |