diff options
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | aclocal.m4 | 2 | ||||
-rw-r--r-- | configure.in | 4 |
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 ] @@ -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' ] ) |