summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-08 14:37:15 -0800
committerGary E. Miller <gem@rellim.com>2019-03-08 14:37:15 -0800
commitf9d91bb8cf8b6bfe7d3c8a886be1ae1ceddc9a23 (patch)
tree6f4e14361a5eb9d1b383f985843617190ac2d79c /SConstruct
parent19726bf0fb91f60a3e7b2ea865fb6727566fec2f (diff)
downloadgpsd-f9d91bb8cf8b6bfe7d3c8a886be1ae1ceddc9a23.tar.gz
timeservice=yes. Fail if no PPS. More documentation.
No point configuring for timeservice if no PPS is possible. More documentation on what timeservice=yes actually does.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 6b96f7de..595a3aab 100644
--- a/SConstruct
+++ b/SConstruct
@@ -899,6 +899,9 @@ else:
announce("Forcing pps=no (neither TIOCMIWAIT nor RFC2783 "
"API is available)")
env["pps"] = False
+ if env["timeservice"]:
+ announce("ERROR: timeservice specified, but no PPS available")
+ Exit(1)
# Map options to libraries required to support them that might be absent.
optionrequires = {