6 Mar
2011
6 Mar
'11
8:37 p.m.
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