summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
-rw-r--r--aclocal.m42
-rw-r--r--configure.in4
3 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 96c9617a..4395841f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -90,7 +90,7 @@ AC_DEFUN( AC_SEARCH_LIB,
LDFLAGS="-L$path -l$1"
AC_TRY_LINK_FUNC($2,
[
- LIBS="$LIBS -L$p -l$1"
+ LIBS="$LIBS -L$path -l$1"
ac_lib_found=yes
break
]
diff --git a/aclocal.m4 b/aclocal.m4
index fadd44eb..39d3c08f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -102,7 +102,7 @@ AC_DEFUN( AC_SEARCH_LIB,
LDFLAGS="-L$path -l$1"
AC_TRY_LINK_FUNC($2,
[
- LIBS="$LIBS -L$p -l$1"
+ LIBS="$LIBS -L$path -l$1"
ac_lib_found=yes
break
]
diff --git a/configure.in b/configure.in
index 27330f61..295594af 100644
--- a/configure.in
+++ b/configure.in
@@ -35,10 +35,10 @@ AC_ARG_WITH(bluez-libs,
--with-bluez-libs=DIR BlueZ libraries and header files,
[
BLUEZ_INCDIR="$withval"/include
- BLUEZ_LIBDIR="$withval"/src/.libs
+ BLUEZ_LIBDIR="$withval"/src
],[
BLUEZ_INCDIR='../libs/include ../bluez-libs*/include /usr/include/bluetooth'
- BLUEZ_LIBDIR='../libs/src/.libs ../bluez-libs*/src/.libs /usr/lib'
+ BLUEZ_LIBDIR='../libs/src ../bluez-libs*/src /usr/lib'
]
)