From db0be495091fa8b4cf64f5d0fb36a20d31fba232 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 13 Mar 2009 16:42:42 +0000 Subject: [PATCH] Fix compilation with --charset=noconv git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28939 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 4596a804f0..3ac7d16f15 100755 --- a/configure +++ b/configure @@ -7768,13 +7768,11 @@ fi #if test "$_gui" # --------------- GUI specific tests end ------------------- -if test "$_charset" = "noconv" ; then - _charset="" -fi -if test "$_charset" ; then +if test "$_charset" != "noconv" ; then def_charset="#define MSG_CHARSET \"$_charset\"" else def_charset="#undef MSG_CHARSET" + _charset="UTF-8" fi if test -n "$_charset" && test "$_charset" != "UTF-8" ; then