summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Tsou2009-10-06 18:43:30 -0400
committerThomas Tsou2009-10-06 19:03:50 -0400
commit1a86e44fe225e412cad32dd16e2583effb4c701e (patch)
tree93decc7774664279da940e225a38a029c6204fcd /config
parentd155857dbe0e10203e622f1e02c65753f393fd58 (diff)
downloadgnuradio-1a86e44fe225e412cad32dd16e2583effb4c701e.tar.gz
gnuradio-1a86e44fe225e412cad32dd16e2583effb4c701e.tar.bz2
gnuradio-1a86e44fe225e412cad32dd16e2583effb4c701e.zip
usrp: Corrected build fix for libusb
Diffstat (limited to 'config')
-rw-r--r--config/usrp_libusb.m48
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