summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-13 16:42:42 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-13 16:42:42 +0000
commitdb0be495091fa8b4cf64f5d0fb36a20d31fba232 (patch)
tree00bb5e1600ce50f880dd7d12b44002cf86c0e810 /configure
parente530d4b4673c745a3f48f750b9ecd628f1c929c9 (diff)
downloadmpv-db0be495091fa8b4cf64f5d0fb36a20d31fba232.tar.bz2
mpv-db0be495091fa8b4cf64f5d0fb36a20d31fba232.tar.xz
Fix compilation with --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28939 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files 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