summaryrefslogtreecommitdiff
path: root/bluez-hcidump/bluez-hcidump-1.5/configure.patch
blob: fe40bfb3ad4996c1dea7c01a9c387a7ed789a41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- bluez-hcidump-1.5/configure.in~configure
+++ bluez-hcidump-1.5/configure.in
@@ -24,8 +24,8 @@
 AC_ARG_WITH(bluez-libs,
 	--with-bluez-libs=DIR  BlueZ libraries and header files,
 	[
-	    BLUEZ_INCDIR="$withval"/include
-	    BLUEZ_LIBDIR="$withval"/src
+	    BLUEZ_INCDIR="$withval/include $withval/include/bluetooth"
+	    BLUEZ_LIBDIR="$withval"/lib
 	],[
 	    BLUEZ_INCDIR='../libs/include /usr/include/bluetooth'
 	    BLUEZ_LIBDIR='../libs/src /usr/lib'
--- bluez-hcidump-1.5/acinclude.m4~configure
+++ bluez-hcidump-1.5/acinclude.m4
@@ -74,7 +74,7 @@
 	p=`cd $p && pwd`
 
 	# Check for libtool library
-	if test -f $p/lib$1.la; then
+	if test -f $p/lib$1.la -a -d $p/.libs; then
 		path=$p/.libs
 	else
 		path=$p