summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-05-24 23:37:55 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-05-24 23:37:55 +0000
commitbcf196f0baf80fdb51b2df27e3d47a98291023ae (patch)
tree97b84103fa2b3ddb0cc9643531048d12b6d47682
parente4108aa9ba79bc6e898fa1581e2c4a56a68ad10d (diff)
Get rid of .libs in default lib path
-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'
]
)