summaryrefslogtreecommitdiffstats
path: root/rfcomm
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-04-03 06:04:35 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-04-03 06:04:35 +0000
commit1d3715db11f573060cb02a2b7b7c44f06607d337 (patch)
tree53e9b7eca91253c4c19e2cba3679d3c6084000a7 /rfcomm
parentb215047988241418ccbcaa41c07366ea637678c7 (diff)
Update BlueZ library configuration
Diffstat (limited to 'rfcomm')
-rw-r--r--rfcomm/Makefile.am4
-rw-r--r--rfcomm/main.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/rfcomm/Makefile.am b/rfcomm/Makefile.am
index f525fc4f..980b0900 100644
--- a/rfcomm/Makefile.am
+++ b/rfcomm/Makefile.am
@@ -9,6 +9,10 @@ bin_PROGRAMS = rfcomm
rfcomm_SOURCES = main.c parser.h parser.y lexer.l kword.h kword.c
rfcomm_CONFIG = rfcomm.conf
+LDFLAGS = @BLUEZ_LIBS@
+
+INCLUDES = @BLUEZ_INCLUDES@
+
man_MANS = rfcomm.1
YFLAGS = -d
diff --git a/rfcomm/main.c b/rfcomm/main.c
index 68396b5e..52701d40 100644
--- a/rfcomm/main.c
+++ b/rfcomm/main.c
@@ -21,6 +21,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>