On Wednesday 24 March 2010 18:43:22 Damjan Jovanovic wrote: > On Wed, Mar 24, 2010 at 6:58 PM, Albert Lee <tr...@forkgnu.org> wrote: >> There are multiple libusb implementations (notably, Solaris libusb >> and FreeBSD libusb20) and it would be necessary to do an API test >> for those, rather than using pkgconfig. > > My patch already distinguishes between libusb-1.0 and libusb-0.1 - > they have different headers, different libnames, and different > pkg-config names. > > Freebsd's libusb20 has all symbols starting with libusb20_tr_: > http://www.unix.com/man-page/FreeBSD/3/libusb20/
It also implements the libusb 1.0 API: http://www.unix.com/man-page/FreeBSD/3/libusb/