diff options
Diffstat (limited to 'config/usrp_libusb.m4')
-rw-r--r-- | config/usrp_libusb.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4 index 593ffbd5cd..d5f12ad7bb 100644 --- a/config/usrp_libusb.m4 +++ b/config/usrp_libusb.m4 @@ -118,6 +118,7 @@ _EOF_ if test x$have_libusb1 = xyes; then echo 'struct libusb_device;' >> $tmpfile echo 'struct libusb_device_handle;' >> $tmpfile + echo 'struct libusb_device_descriptor;' >> $tmpfile echo >> $tmpfile fi @@ -132,9 +133,9 @@ _EOF_ have_libusb1=$have_libusb1 ]) - AC_SUBST(USB_LIBS) - ifelse([$1], , :, [$1]) + AC_SUBST(USB_LIBS) + ifelse([$2], , :, [$2]) else - ifelse([$2], , :, [$2]) + ifelse([$3], , :, [$3]) fi ]) |