Hi Christian,

> >But it gets installed with a broken openobex.pc,
> >
> >If openobex will support only the libusb versions that containg a
> >libusb.pc, why not using pkg-config to find libusb on configure?
> >
> >Otherwise, if libusb without libusb.pc is supposed to be supported,
> >the generation of a broken openobex.pc in this case seems to need a fix.
> 
> I second Eduardo here, it doesn't seem consistent to me. The local m4 
> from openobex cvs is smart enough to find libusb on its own. On the 
> other hand users of the openobex.pc are condemned to have a libusb.pc 
> which is not easily available?
> 
> I don't know about the dependencies here: If I use openobex.m4 I need to 
> take care of including some usb support on my own. But if I use the 
> pkg-config I can't choose how to include the usb support?
> 
> Perhaps these dependancies are the intented advantage of pkg-config over 
> m4 macros? Nonetheless having a broken file is clearly subverting that.
> 
> A workaround to smooth the transition to pkg-config would be really useful.

I don't do workarounds for such a problem, because the openobex.pc file
is correct and the bug is in the libusb package. 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.

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

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