[Git][NTPsec/ntpsec][master] Decluttering and documentation.
Eric S. Raymond
gitlab at mg.gitlab.com
Sat Jul 9 23:18:16 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
754b822a by Eric S. Raymond at 2016-07-09T19:17:44-04:00
Decluttering and documentation.
- - - - -
3 changed files:
- docs/driver_nmea.txt
- pylib/check_cap.py
- pylib/configure.py
Changes:
=====================================
docs/driver_nmea.txt
=====================================
--- a/docs/driver_nmea.txt
+++ b/docs/driver_nmea.txt
@@ -249,9 +249,10 @@ switched on by sending the following string.
== Configuration Example ==
-----------------------------------------------------------------------------
-refclock nmea mode baud 19200 # All sentences at 19200 baud
-----------------------------------------------------------------------------
+------------------------------------------------------------------------------
+refclock nmea mode baud 19200 # All sentences from /dev/gps0 at 19200 baud
+refclock nmea path /dev/ttUSB0 # All sentences from /dev/ttyUSB0 at 9600 baud
+------------------------------------------------------------------------------
== Additional Information ==
=====================================
pylib/check_cap.py
=====================================
--- a/pylib/check_cap.py
+++ b/pylib/check_cap.py
@@ -26,12 +26,12 @@ def check_cap_header(ctx):
def check_cap_run(ctx):
if ctx.env.ENABLE_CROSS: # XXX Remove when variant builds exist
if ctx.env.LIBCAP_HEADER:
- ctx.define("HAVE_CAPABILITY", 1, comment="Capability support")
+ ctx.define("HAVE_LINUX_CAPABILITY", 1, comment="Capability support")
return
ctx.check_cc(
fragment = PCAP_FRAG,
- define_name = "HAVE_CAPABILITY",
+ define_name = "HAVE_LINUX_CAPABILITY",
features = "c",
use = "CAP",
msg = "Checking if libcap works",
@@ -40,7 +40,3 @@ def check_cap_run(ctx):
)
check_sanity(ctx, ctx.env.LIBCAP_HEADER, "libcap")
-
-
- if ctx.get_define("HAVE_CAPABILITY"):
- ctx.define("HAVE_LINUX_CAPABILITY", 1, comment="Capability support") # XXX: why two?
=====================================
pylib/configure.py
=====================================
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -346,11 +346,9 @@ def cmd_configure(ctx, config):
"semaphore.h",
"stdatomic.h",
"sys/audioio.h",
- "sys/capability.h", # Linux
"sys/clockctl.h", # NetBSD
"sys/ioctl.h",
"sys/modem.h", # Apple
- "sys/prctl.h", # Linux
"sys/sockio.h",
"sys/soundcard.h",
("sys/sysctl.h", ["sys/types.h"]),
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/754b822a784f273fa51e3e71e815928acbcaba5e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160709/5be2feb5/attachment.html>
More information about the vc
mailing list