diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 00:30:28 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 00:30:28 -0400 |
commit | 6b30f26bbc9638976ef03dccef5306f349348b6c (patch) | |
tree | 61a48c4c8d4ab6df1ba574150e7cbeae730bb033 | |
parent | efa3c22dc8ad978a2339710643489e7055f0d0ca (diff) | |
download | gpsd-6b30f26bbc9638976ef03dccef5306f349348b6c.tar.gz |
Being on a Mac changes one of the natural defaults.
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,6 +41,9 @@ import SCons # Start by reading configuration variables from the cache opts = Variables('.scons-option-cache') +# Being on a Mac changes one of the natural defaults. +os_x = (sys.platform == "darwin") + boolopts = ( # GPS protocols ("nmea", True, "NMEA support"), @@ -83,7 +86,7 @@ boolopts = ( # Other daemon options ("timing", True, "latency timing support"), ("control_socket",True, "control socket for hotplug notifications"), - ("systemd", False, "systemd socket activation"), + ("systemd", os_x, "systemd socket activation"), # Client-side options ("clientdebug", True, "client debugging support"), ("oldstyle", True, "oldstyle (pre-JSON) protocol support"), |