[MPlayer-dev-eng] [PATCH] check for iconv program in configure

Diego Biurrun diego at biurrun.de
Sat May 13 20:05:57 CEST 2006


On Sat, May 13, 2006 at 12:45:31AM +0200, Reimar Döffinger wrote:
> this is a hackish approach for the dependency problem on the iconv
> program I introduced (make fails in some weird ways when it is not
> available).
> Sorry for not doing this earlier and better, but I hate configure stuff.

> --- configure	12 May 2006 17:07:22 -0000	1.1199
> +++ configure	12 May 2006 22:41:21 -0000
> @@ -7058,6 +7062,19 @@
>    _def_charset="#undef MSG_CHARSET"
>  fi
>  
> +echocheck "iconv program"
> +iconv -f `cat ${_mp_help}.charset` -t $_charset ${_mp_help} > /dev/null 2>> "$TMPLOG"
> +if test "$?" -ne 0 ; then
> +  echores "no"
> +  if test "$_charset" != `cat ${_mp_help}.charset` ; then
> +    echo "no working iconv program found, use "

Very minor nit: Capitalize "no".

Commit right away.

Diego




More information about the MPlayer-dev-eng mailing list