[MPlayer-cvslog] r32883 - trunk/configure

Diego Biurrun diego at biurrun.de
Sun Mar 6 20:37:29 CET 2011


On Fri, Feb 11, 2011 at 11:02:10AM +0100, cehoyos wrote:
> 
> Log:
> Fix compilation by adding defines necessary for ac3dsp to config.asm.

This is more complicated than it needs to be IMO.

> --- trunk/configure	Thu Feb 10 22:31:24 2011	(r32882)
> +++ trunk/configure	Fri Feb 11 11:02:09 2011	(r32883)
> @@ -8723,6 +8724,7 @@ for part in $arch $subarch; do
>    part=$(echo $part | tr '[a-z]' '[A-Z]')
>    echo "%define ARCH_${part}" >> "$TMPS"
>  done
> +echo "$(ff_config_enable "$cpuexts_all" "$cpuexts" "%" "HAVE")" >> "$TMPS"

Just use (untested)

  echo "$(ff_config_enable "$cpuexts_all" "$cpuexts" "HAVE")" | sed 's/^#/%/' >> "$TMPS"

and you should be able to get rid of all the rest you changed before.

Diego


More information about the MPlayer-cvslog mailing list