Subject: Re: [Boost-build] bug: condition eval on FreeBSD not correctly working
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-26 23:21:23
Oliver Kowalke wrote:
> Am 26.05.2010 17:59, schrieb Steven Watanabe:
>> Oliver Kowalke wrote:
>>> in my Jamfile.v2 the statement:
>>> if $(arch) = "i386" && (<toolset>gcc in $(properties) ||
>>> <toolset>intel in $(properties))
>> Watch out for the infamous bjam tokenizing rules.
>> This is parsed as
>> if "$(arch)" = "i386" && "(<toolset>gcc" in $(properties) ||
>> <toolset>intel in "$(properties))"
> ? I still don't know why it is working on Linux but on FreeBSD not.
> Sorry I can't follow what you try to tell me.
You need spaces around the grouping parens. I
have no idea what the reason for the differing
behavior between Linux and FreeBSD is. At
least fix the tokenization and then if it still doesn't
work use ECHO to find out what the values of
all the variables are.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk