Commit 1208a7fb authored by Eric S. Raymond's avatar Eric S. Raymond

Decluttering and documentation.

parent 499a7443
......@@ -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 ==
......
......@@ -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?
......@@ -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"]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment