<div dir="ltr">There is no way to write greater-than conditions in Makefile except usage of shell commands.<div><div>I could propose usage of something like checking XCode version, which is better then checking OS X version as absence of llvm-gcc-4.2 depends on XCode version, not OS X one:</div>
<div><br></div><div>if [ $(xcodebuild -version | head -n 1 | sed 's/[^0-9]//g') -ge 500 ] ; then echo "Ok"; fi</div></div><div><br></div><div>llvm-gcc-4.2 is absent starting from XCode 5.0.0</div><div><br>
</div><div>May this patch be more appropriate?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 12:58 PM, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 15 Nov 2013 12:28:26 +0400, Maxim Bublis <<a href="mailto:b@codemonkey.ru">b@codemonkey.ru</a>> wrote:<br>
> Patch has been updated to use clang only on MacOS X 10.9.<br>
<br>
</div>So what will happen in later versions?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Rémi Denis-Courmont<br>
Sent from my collocated server<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Maxim Bublis
</div>