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 <n...@nf6x.net>
Web page: http://www.nf6x.net/
GnuPG public key available from my web page.



Attachment: libusb-legacy.patch
Description: Binary data

_______________________________________________
Patch-gnuradio mailing list
Patch-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/patch-gnuradio

Reply via email to