summaryrefslogtreecommitdiffstats
path: root/comms/rtl-sdr/files/patch-configure.ac
blob: 41b2b774812f606134203ceee2b11a6c79b40bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.ac.orig	2012-08-23 08:40:54.000000000 +0200
+++ configure.ac	2012-08-23 11:47:20.000000000 +0200
@@ -14,9 +14,7 @@
 LT_INIT
 AC_PROG_LIBTOOL
 
-PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0)
-LIBS="$LIBS $LIBUSB_LIBS"
-CFLAGS="$CFLAGS $LIBUSB_CFLAGS"
+LIBS="$LIBS -lusb"
 
 AC_PATH_PROG(DOXYGEN,doxygen,false)
 AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)
@@ -34,7 +32,7 @@
 
 dnl checks for required libraries
 dnl pthreads
-AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
+AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -pthread"])
 
 dnl libmath (for rtl_fm)
 AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])
OpenPOWER on IntegriCloud