[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] [PATCH] Fix config script to correctly identify libusb-
From: |
Mark J. Blair |
Subject: |
[Patch-gnuradio] [PATCH] Fix config script to correctly identify libusb-legacy. |
Date: |
Sat, 4 Sep 2010 13:05:20 -0700 |
Hi! This is my first time submitting a proposed patch for gnuradio, so I hope
I'm doing this correctly.
I'm building gnuradio under Mac OS X, with pre-requisites supplied by MacPorts.
I have libusb-legacy (i.e., libusb 0.1) installed, but not libusb (i.e., libusb
1.0). So far, I've found that I have to use the older USB library to make
things work correctly on my system.
I've found that in this situation, the configuration script will correctly
locate libusb-legacy with pkg-config, but the following test for a required
function in the USB library will fail because the test is hard-coded to link
against -lusb (which is not present in this case).
I fixed this on my system by modifying config/usrp_libusb.m4 to instead check
for that required function by linking against -lusb-legacy if the libusb-legacy
has been selected as the package to use.
My output from 'git format-patch' is attached; please let me know if I should
resubmit this in a different manner.
--
Mark J. Blair, NF6X <address@hidden>
Web page: http://www.nf6x.net/
GnuPG public key available from my web page.
libusb-legacy.patch
Description: Binary data
- [Patch-gnuradio] [PATCH] Fix config script to correctly identify libusb-legacy.,
Mark J. Blair <=