<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jul 13, 2014 at 12:13 AM, Mark Lentczner <span dir="ltr"><<a href="mailto:mark.lentczner@gmail.com" target="_blank">mark.lentczner@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Found the culprit!!!!!!!<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div><font face="courier new, monospace">XCodeVersion=`xcodebuild -version | grep Xcode | sed "s/Xcode //"`</font></div>

</div></blockquote><div><div><br></div><div>This line in configure doesn't work on a system that just the Xcode command line tools installed! It also won't work on an OS X system that has some other tool chain (say, via brew) installed. On such systems, itsets XCodeVersion to "", which in tur</div>


<div><br></div><div>The follow on code sets XCodeVersion1 and XCodeVersion2 to "0", and then this code runs, causing the problem:</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">


<div><div><font face="courier new, monospace">SplitObjsBroken=NO</font></div></div><div><div><font face="courier new, monospace">if test "$TargetOS_CPP" = "darwin"</font></div></div><div><div><font face="courier new, monospace">then</font></div>


</div><div><div><font face="courier new, monospace">    # Split objects is broken (#4013) with XCode < 3.2</font></div></div><div><div><font face="courier new, monospace">    if test "$XCodeVersion1" -lt 3</font></div>


</div><div><div><font face="courier new, monospace">    then</font></div></div><div><div><font face="courier new, monospace">        SplitObjsBroken=YES</font></div></div><div><div><font face="courier new, monospace">    else</font></div>


</div><div><div><font face="courier new, monospace">        if test "$XCodeVersion1" -eq 3</font></div></div><div><div><font face="courier new, monospace">        then</font></div></div><div><div><font face="courier new, monospace">            if test "$XCodeVersion2" -lt 2</font></div>


</div><div><div><font face="courier new, monospace">            then</font></div></div><div><div><font face="courier new, monospace">                SplitObjsBroken=YES</font></div></div><div><div><font face="courier new, monospace">            fi</font></div>


</div><div><div><font face="courier new, monospace">        fi</font></div></div><div><div><font face="courier new, monospace">    fi</font></div></div><div><div><font face="courier new, monospace">fi</font></div></div></blockquote>


<div><br></div>​Alas, it doesn't look like SplitObjsBroken has the logic to allow it to be overriden on the ./configure invocation (anyone know for sure? my autoconf is very rusty....)<div><br></div><div>Too late here for me to think of a fix....</div>
</div></blockquote><div><br></div>Would it be possible to simply stop supporting Xcode builds that old? #4013 is three years old and Xcode < 3.2 only applies to Mac OS X 10.5 and earlier.</div><div class="gmail_quote">
<br></div></div></div>