summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-14 10:22:31 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-14 10:22:31 -0400
commit66853526a093a9e7debb7b7c6379fec089b7fdf8 (patch)
tree833e41ef238662bd7bd5326ca6b14c8933a54ce0 /SConstruct
parenta623db40fac8cdf2d280805ffa34a0aa62f36d5e (diff)
downloadgpsd-66853526a093a9e7debb7b7c6379fec089b7fdf8.tar.gz
Make the scons help for gpsd_user and gpsd_group a bit clearer.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 0cecacea..323c6c57 100644
--- a/SConstruct
+++ b/SConstruct
@@ -120,8 +120,8 @@ for (name, default, help) in boolopts:
opts.Add(BoolVariable(name, help, default))
nonboolopts = (
- ("gpsd_user", "", "privilege revocation user",),
- ("gpsd_group", "", "privilege revocation group"),
+ ("gpsd_user", "(undefined)", "privilege revocation user",),
+ ("gpsd_group", "(undefined)", "privilege revocation group"),
("prefix", "/usr/local", "installation directory prefix"),
("limited_max_clients", 0, "maximum allowed clients"),
("limited_max_devices", 0, "maximum allowed devices"),
@@ -443,7 +443,7 @@ for (key,help) in keys:
confdefs.append("#define %s_ENABLE 1\n" % key.upper())
else:
confdefs.append("/* #undef %s_ENABLE */\n" % key.upper())
- elif value in (0, ""):
+ elif value in (0, "", "(undefined)"):
confdefs.append("/* #undef %s */\n" % key.upper())
else:
if value.isdigit():