[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch-gnuradio] [PATCH] Fix config script to correctly identify lib
From: |
Michael Dickens |
Subject: |
Re: [Patch-gnuradio] [PATCH] Fix config script to correctly identify libusb-legacy. |
Date: |
Sat, 4 Sep 2010 17:32:51 -0400 |
Hi Mark - There's more to the issue that what you changed, but thank you for
the patch and the reminder to me to check in my version of it -- you did the
submission correctly! I'm almost to the point of having the libusb-legacy
changes ready for testing. I'll get them checked in either Monday or Tuesday.
Sorry for the delay. - MLD
On Sep 4, 2010, at 4:05 PM, Mark J. Blair wrote:
> 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.