summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 0d860f93..8bbcd1c7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -83,6 +83,7 @@ boolopts = (
# Other daemon options
("timing", True, "latency timing support"),
("control_socket",True, "control socket for hotplug notifications"),
+ ("systemd", True, "systemd socket activation"),
# Client-side options
("clientdebug", True, "client debugging support"),
("oldstyle", True, "oldstyle (pre-JSON) protocol support"),
@@ -680,6 +681,9 @@ gpsdlibs = ["-lgpsd"] + usblibs + bluezlibs + gpslibs
gpsd_sources = ['gpsd.c','ntpshm.c','shmexport.c','dbusexport.c']
+if env['systemd']:
+ gpsd_sources.append("sd_socket.c")
+
gpsmon_sources = [
'gpsmon.c',
'monitor_italk.c',