diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-13 16:42:42 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-13 16:42:42 +0000 |
commit | db0be495091fa8b4cf64f5d0fb36a20d31fba232 (patch) | |
tree | 00bb5e1600ce50f880dd7d12b44002cf86c0e810 /configure | |
parent | e530d4b4673c745a3f48f750b9ecd628f1c929c9 (diff) | |
download | mpv-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-x | configure | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |