Am Mittwoch 02 Mai 2007 16:40 schrieb Christian W. Zuckschwerdt:
> sorry, I'm confused. Can you explain a bit further why a check for
> ${prefix}/lib/pkgconfig/libusb.pc is better than a check with
> PKG_CHECK_EXISTS? The result is the same, REQUIRES="libusb" being set,
> right?
In the openobex pkgconfig file, you may either depend on the usb module in
Requires.private or you must define -lusb in CFLAGS.private, depending on the
version of libusb.
Hint: pkgconfig support in libusb is not very old and the libusb-win32 doesn't
have it at all.
When searching for libs, you _may_ use the data from a libusb.pc file, but you
should search for the lib with the usual autoconf macros, anyway.
Requiring libusb.pc will break the win32 port, at least.
HS
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users