summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-15 06:47:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-15 06:47:31 -0500
commitd697ef14311846002bff5fdae279595f753d1e38 (patch)
treec1b70f496b0e9563ffe4ac0775374af1f9cc611c /SConstruct
parent421475b0eec8a098617aac7936b143a0e40948aa (diff)
downloadgpsd-d697ef14311846002bff5fdae279595f753d1e38.tar.gz
Be more explicit about what SConstruct does when we turn off features.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 103399c8..ed49d1fd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -599,6 +599,8 @@ else:
else:
confdefs.append("/* #undef HAVE_DBUS */\n")
dbus_libs = []
+ if env["dbus_export"]:
+ announce("Turning off dbus-export support, library not found.")
env["dbus_export"] = False
if env['bluez'] and config.CheckPKG('bluez'):
@@ -607,6 +609,8 @@ else:
else:
confdefs.append("/* #undef HAVE_BLUEZ */\n")
bluezlibs = []
+ if env["bluez"]:
+ announce("Turning off Bluetooth support, library not found.")
env["bluez"] = False
#in_port_t is not defined on Android