diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/usrp_libusb.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4 index 73872eaef..0c271e0f3 100644 --- a/config/usrp_libusb.m4 +++ b/config/usrp_libusb.m4 @@ -55,11 +55,11 @@ AC_DEFUN([USRP_LIBUSB], [ ]) fi - if x$USB_INCLUDEDIR != x; then - USB_INCLUDES=-I$USB_INCLUDEDIR - fi - if test x$libusbok = xyes; then + if test x$USB_INCLUDEDIR != x; then + USB_INCLUDES="-I$USB_INCLUDEDIR" + AC_SUBST(USB_INCLUDES) + fi AC_SUBST(USB_LIBS) ifelse([$2], , :, [$2]) else |