summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-08-09 16:54:45 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-08-09 16:54:45 +0000
commitdbf3acbbd59cc75fe68a8e6895c8afd623f835ee (patch)
treec9c2e669dc3734dd999c2d5d4cee67cedc60bbc8
parentd9fa0038d3d6ce2377ede3965d237606b21ed542 (diff)
configure fixes
-rw-r--r--acinclude.m42
-rw-r--r--configure.in6
2 files changed, 3 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a2fa7784..cca660ee 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -76,8 +76,6 @@ AC_DEFUN([AC_SEARCH_LIB],
# Check for libtool library
if test -f $p/lib$1.la; then
path=$p/.libs
- else
- path=$p
fi
LDFLAGS="-L$path -l$1"
diff --git a/configure.in b/configure.in
index f857e0f8..fef17598 100644
--- a/configure.in
+++ b/configure.in
@@ -39,14 +39,14 @@ AC_ARG_WITH(bluez-libs,
BLUEZ_INCDIR="$withval"/include
BLUEZ_LIBDIR="$withval"/src
],[
- BLUEZ_INCDIR='../libs/include /usr/include/bluetooth'
+ BLUEZ_INCDIR='../libs/include /usr/include'
BLUEZ_LIBDIR='../libs/src /usr/lib'
]
)
-AC_SEARCH_HEADERS(bluetooth.h, $BLUEZ_INCDIR,,
+AC_SEARCH_HEADERS(bluetooth/bluetooth.h, $BLUEZ_INCDIR,,
AC_MSG_ERROR(Bluetooth headers not found.
- Please install bluez-libs package.)
+ Please compile and install bluez-libs package.)
)
AC_SEARCH_LIB(bluetooth, hci_open_dev, $BLUEZ_LIBDIR,,