Hello, sorry for the double else, it was only a copy error.<br><br>I&#39;ve tried with:<br><br>if $(name) = boost_math_c99<br>if &lt;name&gt;boost_math_c99<br>if $(base) = boost_math_c99<br>if &lt;name&gt;boost_math_c99<br>

<br>but nothing works. The if blocks are skipped.<br><br>Any other idea?<br><br>Thanks! Regards<br>Christina. <br><br><div class="gmail_quote">2010/5/25 Steven Watanabe <span dir="ltr">&lt;<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">AMDG<div><br>
<br>
Christina Larocca wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;m trying to compile boost libs with different versions between each other.<br>
For example, I could have a regex 1.39.0.1, a serialization 1.39.0.2, a<br>
signals 1.39.1.0, etc...<br>
<br>
So far, I&#39;ve been trying to modify Jamroot to achieve this, but I can&#39;t pass<br>
from one point:<br>
<br>
<br>
In the layout=system block, I&#39;ve added the following to try to change the<br>
math_c99 version:<br>
<br>
�if $(layout) = versioned<br>
 � � � �{<br>
 � � � � � ...<br>
 � � � �}<br>
else<br>
 � � � �{<br>
 � � � � � if &lt;base&gt;boost_math_c99<br>
 �<br>
</blockquote>
<br></div>
Try using if $(name) = boost_math_c99<div><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 � � � � � � � �{<br>
 � � � � � � � �local result = [ common.format-name<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID)<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID)<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID)<br>
 � � � � � � � �: $(name) : $(type) : $(property-set) ] ;<br>
 � � � � � � � �}<br>
 � � � � � else<br>
 � � � � � � � �{<br>
 � � � � � � � �local result = [ common.format-name<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID)<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID))<br>
 � � � � � � � �: $(name) : $(type) : $(property-set) ] ;<br>
 � � � � � � � �}<br>
 � � � � � else<br>
 � � � � � � � �{<br>
 � � � � � � � �local result = [ common.format-name<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID)<br>
 � � � � � � � �&lt;base&gt; -$(BUILD_ID))<br>
 � � � � � � � �: $(name) : $(type) : $(property-set) ] ;<br>
 � � � � � � � �}<br>
</blockquote>
<br></div>
I don&#39;t think you need two elses. �One is enough.<br>
<br>
In Christ,<br>
Steven Watanabe<br>
<br>
_______________________________________________<br>
Unsubscribe &amp; other changes: <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-build" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-build</a><br>
</blockquote></div><br>