diff options
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | configure.in | 6 |
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,, |