From f9d91bb8cf8b6bfe7d3c8a886be1ae1ceddc9a23 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 8 Mar 2019 14:37:15 -0800 Subject: 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. --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) (limited to 'SConstruct') 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 = { -- cgit v1.2.1