Hi Eduardo,

> > 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.

the libusb actually have pkg-config support. It is in the CVS and the
Ubuntu guys already backported it. So I can safely consider this a bug.
A package that never had or never will have pkg-config is a different
story.

> > 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.

Some embedded systems might not have pkg-config at all. And this will
mean you can't even configure it. Using the ${prefix} or ${usb_prefix}
to be more precise is sane and it can be modified with --with-usb.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to