summaryrefslogtreecommitdiff
path: root/hcid
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-04-03 08:01:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-04-03 08:01:04 +0000
commitcfd9a803fbfff5d6332000fd515bc92a10001acf (patch)
tree701f328e917b4af6964a0af8c3e57a766a3b98c1 /hcid
parent138996fe1350b28f551edc24ecc6c498d20c64f5 (diff)
downloadbluez-cfd9a803fbfff5d6332000fd515bc92a10001acf.tar.gz
Use own check for D-BUS support
Diffstat (limited to 'hcid')
-rw-r--r--hcid/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am
index f356b9b64..b720e5cc2 100644
--- a/hcid/Makefile.am
+++ b/hcid/Makefile.am
@@ -4,18 +4,20 @@
sbin_PROGRAMS = hcid
-if ENABLE_DBUS
+if DBUS
dbus_hcid_sources = dbus.c
+dbus_hcid_ldflags = @DBUS_LIBS@
else
dbus_hcid_sources =
+dbus_hcid_ldflags =
endif
hcid_SOURCES = main.c security.c hcid.h lib.c lib.h parser.h parser.y lexer.l kword.h kword.c glib-ectomy.h glib-ectomy.c $(dbus_hcid_sources)
hcid_CONFIG = hcid.conf
-LDFLAGS = @BLUEZ_LIBS@
+LDFLAGS = @BLUEZ_LIBS@ $(dbus_hcid_ldflags)
-INCLUDES = @BLUEZ_INCLUDES@
+INCLUDES = @BLUEZ_INCLUDES@ @DBUS_INCLUDES@
man_MANS = hcid.8 hcid.conf.5