Mercurial > mplayer.hg
diff configure @ 14542:4a6b79a1ad52
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.
author | reimar |
---|---|
date | Thu, 20 Jan 2005 13:22:53 +0000 |
parents | cb86e69fe7a3 |
children | f38a2658bdd4 |
line wrap: on
line diff
--- a/configure Wed Jan 19 18:24:53 2005 +0000 +++ b/configure Thu Jan 20 13:22:53 2005 +0000 @@ -1382,7 +1382,6 @@ _linux_devfs=no _i18n=auto _dynamic_plugins=no -_setlocale=auto _crash_debug=auto _sighandler=yes _libdv=auto @@ -1428,8 +1427,6 @@ --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 @@ 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 @@ # define MAP_FAILED ((void *) -1) #endif -/* use setlocale() function */ -$_def_setlocale - /* Runtime CPU detection */ $_def_runtime_cpudetection