[Scons-users] Distinguishing platforms

Bill Deegan bill at baddogconsulting.com
Sat Aug 22 14:18:03 EDT 2015


Russel,

lsb_release will usually tell you what you want to know (run on the command
line).
That said, perhaps this is a good candidate for configure context checker?

-Bill

On Sat, Aug 22, 2015 at 12:58 PM, Russel Winder <russel at winder.org.uk>
wrote:

> From what I can tell, SCons has no way of distinguishing Fedora from
> Debian, it has only "posix" to cover all distrivutions of Linux. Has anyone
> worked out an idiom for having builds that properly distinguish Fedora and
> Debian (and Ubuntu, Mint,…) or do I have to start hacing around checking
> kernel version string data to infer the platform?
>
> --
> Russel.
>
> =============================================================================
> Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
> russel.winder at ekiga.net
> 41 Buckmaster Road   m:+44 7770 465 077   xmpp:russel at winder.org.uk
> London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150822/8a66ea20/attachment.html>


More information about the Scons-users mailing list