On Wednesday 28 May 2003 15:04, Conor MacNeill wrote:
> On Wed, 28 May 2003 11:27 pm, Erik Hatcher wrote:
> > If folks feel strongly about it, I'll revert it.
>
> I'm not into strong feelings :-). Let's see what people think.
+1 to keep the if attribute

I use this all the time with cc:

    <compiler id="compiler.options">
        <compilerarg value="-ggdb" unless="optimize"/>
        <compilerarg value="-pthread" if="is.linux"/>
        <compilerarg value="-Wall"/>
        <compilerarg value="-Wstrict-prototypes"/>
        <compilerarg value="-O3" if="optimize"/>
        <compilerarg value="-mcpu=pentium4" if="linux"/>
    </compiler>

Peter

Reply via email to