Hi, Marcel,

On Thu, Jan 19, 2006 at 02:41:03PM +0100, Marcel Holtmann wrote:
<snip>
> 
> I don't do workarounds for such a problem, because the openobex.pc file
> is correct and the bug is in the libusb package.

This seems to be a sensible question: why not having pkg-config support
on a library is a bug? The library just doesn't support pkg-config.

There are lots of libraries that simply doesn't support pkg-config and
doesn't have a .pc file. The current upstream version of libusb is on
this set.


> However I included a
> check for ${prefix}/lib/pkgconfig/libusb.pc now and if this file can't
> be found the USB support will be disabled.

Any reason to not use PKG_CHECK_MODULES for that? This check will ignore
PKG_CONFIG_PATH, for example.

> 
> So now its up to the libusb upstream and package maintainers to include
> a libusb.pc to get USB support for OpenOBEX.

This looks like a acceptable policy, as the CVS version of libusb already
has pkg-config support.

-- 
Eduardo

Attachment: pgphi6CsrSSAr.pgp
Description: PGP signature

Reply via email to