diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-08 12:45:48 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-08 12:45:48 +0000 |
commit | 1519205f24ebe1a45e79e9463aa1c1d2cd8e1f4f (patch) | |
tree | 7964b4bf4c1e68591c257996ee30888f0e7fc541 /configure | |
parent | 1b8e9839b05a8dadefa1f6613f166c3648c1f641 (diff) | |
download | mpv-1519205f24ebe1a45e79e9463aa1c1d2cd8e1f4f.tar.bz2 mpv-1519205f24ebe1a45e79e9463aa1c1d2cd8e1f4f.tar.xz |
Automaticall convert message to console charset, use utf8 for GTK2 Gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -6958,6 +6958,20 @@ else fi # --------------- GUI specific tests end ------------------- +if test "$_charset" = "noconv" ; then + _charset="" +elif test -z "$_charset" ; then + if test "$_gtk1" = yes ; then + _charset=`cat ${_mp_help}.charset` + else + _charset=utf8 + fi +fi +if test "$_charset" ; then + _def_charset="#define MSG_CHARSET \"$_charset\"" +else + _def_charset="#undef MSG_CHARSET" +fi ############################################################################# @@ -7404,6 +7418,9 @@ cat > config.h << EOF /* use GNU internationalization */ $_def_i18n +/* name of messages charset */ +$_def_charset + /* Runtime CPU detection */ $_def_runtime_cpudetection |