Mercurial > mplayer.hg
comparison configure @ 18487:d8083c152f3e
add check for a working iconv program and point to workaround if not found
author | reimar |
---|---|
date | Sat, 13 May 2006 19:03:20 +0000 |
parents | c085c630b7f5 |
children | e5b65b94eb73 |
comparison
equal
deleted
inserted
replaced
18486:928087596d71 | 18487:d8083c152f3e |
---|---|
7055 _def_charset="#define MSG_CHARSET \"$_charset\"" | 7055 _def_charset="#define MSG_CHARSET \"$_charset\"" |
7056 else | 7056 else |
7057 _def_charset="#undef MSG_CHARSET" | 7057 _def_charset="#undef MSG_CHARSET" |
7058 fi | 7058 fi |
7059 | 7059 |
7060 echocheck "iconv program" | |
7061 iconv -f `cat ${_mp_help}.charset` -t $_charset ${_mp_help} > /dev/null 2>> "$TMPLOG" | |
7062 if test "$?" -ne 0 ; then | |
7063 echores "no" | |
7064 if test "$_charset" != `cat ${_mp_help}.charset` ; then | |
7065 echo "No working iconv program found, use " | |
7066 echo "--charset=`cat ${_mp_help}.charset` to continue anyway." | |
7067 echo "Messages in the GTK-2 interface will be broken then." | |
7068 exit 1 | |
7069 fi | |
7070 else | |
7071 echores "yes" | |
7072 fi | |
7073 | |
7074 if test "$_charset" = `cat ${_mp_help}.charset` ; then | |
7075 # hack to disable conversion in the Makefile | |
7076 _charset="" | |
7077 fi | |
7060 | 7078 |
7061 ############################################################################# | 7079 ############################################################################# |
7062 | 7080 |
7063 echocheck "automatic gdb attach" | 7081 echocheck "automatic gdb attach" |
7064 if test "$_crash_debug" = yes ; then | 7082 if test "$_crash_debug" = yes ; then |