diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 23:16:30 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 23:16:30 +0000 |
commit | 955495414e51fe1aff47e76d9fd18edcabd4e4d3 (patch) | |
tree | 0eb0535042386515ce950e45e13636271c3b09d0 | |
parent | aaf66caefd847a10eda1a3e742a54bdc627fcc58 (diff) |
Replace hack to disable iconv conversion of messages with something more sane.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26831 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | configure | 7 |
2 files changed, 2 insertions, 7 deletions
@@ -765,7 +765,7 @@ help_mp.h: help/help_mp-en.h $(HELP_FILE) @echo '// See the help/ subdir for the editable files.' >> help_mp.h @echo '#ifndef MPLAYER_HELP_MP_H' >> help_mp.h @echo '#define MPLAYER_HELP_MP_H' >> help_mp.h -ifeq ($(CHARSET),) +ifeq ($(CHARSET),UTF-8) @echo '#include "$(HELP_FILE)"' >> help_mp.h else iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h @@ -7330,12 +7330,7 @@ else _def_charset="#undef MSG_CHARSET" fi -if test "$_charset" = "UTF-8" ; then - # hack to disable conversion in the Makefile - _charset="" -fi - -if test "$_charset" ; then +if test "$_charset" != "UTF-8" ; then echocheck "iconv program" iconv -f UTF-8 -t $_charset ${_mp_help} > /dev/null 2>> "$TMPLOG" if test "$?" -ne 0 ; then |