2016-10-19 20:24:37 +01:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2018-02-23 08:51:10 +00:00
|
|
|
@@ -8987,8 +8987,7 @@
|
2016-10-19 20:24:37 +01:00
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libusb include dir" >&5
|
|
|
|
$as_echo_n "checking libusb include dir... " >&6; }
|
|
|
|
usb_incdir_found="no"
|
2018-02-23 08:51:10 +00:00
|
|
|
- for _incdir in "" "/usr/include/libusb-1.0" \
|
|
|
|
- "/usr/local/include/libusb-1.0" "/usr/pkg/include/libusb-1.0"; do
|
2016-10-19 20:24:37 +01:00
|
|
|
+ for _incdir in "$($PKG_CONFIG --variable=includedir libusb-1.0)/libusb-1.0"; do
|
|
|
|
_libusb_save_cppflags=$CPPFLAGS
|
|
|
|
if test -n "${_incdir}"; then
|
|
|
|
CPPFLAGS="-I${_incdir} ${CPPFLAGS}"
|