summaryrefslogtreecommitdiff
path: root/comms/rtl-sdr/files/patch-configure.ac
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2012-11-07 07:48:48 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2012-11-07 07:48:48 +0000
commit8396e757dcdcd41fd1379dd143083a93ee34c426 (patch)
tree158518270576208fe35c7c0e56c684831d4f1191 /comms/rtl-sdr/files/patch-configure.ac
parentNow that libexttextcat can happily live along with libtextcat remove the (diff)
Add rtl-sdr, set of tools to use RTL2832U-based USB dongles as cheap SDR
Feature safe: yes
Notes
Notes: svn path=/head/; revision=307117
Diffstat (limited to 'comms/rtl-sdr/files/patch-configure.ac')
-rw-r--r--comms/rtl-sdr/files/patch-configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/rtl-sdr/files/patch-configure.ac b/comms/rtl-sdr/files/patch-configure.ac
new file mode 100644
index 000000000000..41b2b774812f
--- /dev/null
+++ b/comms/rtl-sdr/files/patch-configure.ac
@@ -0,0 +1,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"])