aboutsummaryrefslogtreecommitdiffstats
path: root/comms/libticables/files/extra-patch-configure
blob: 7b30c348af127883e15d2a20fd4ddd3b4812c869 (plain) (blame)
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
--- configure.orig  2009-03-07 19:05:24.000000000 +0300
+++ configure   2009-03-07 19:06:25.000000000 +0300
@@ -26925,21 +26925,13 @@
 echo "${ECHO_T}no" >&6
 fi
 
-if test x$LIBUSB_CONFIG = xyes; then
-  LIBUSB_CFLAGS=`libusb-config --cflags`
-  LIBUSB_LIBS=`libusb-config --libs`
+  LIBUSB_CFLAGS=""
+  LIBUSB_LIBS="-lusb"
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_LIBUSB 1
 _ACEOF
 
-else
-  LIBUSB_CFLAGS=
-  LIBUSB_LIBS=
-fi
-
-
-
 # Checks for header files.