summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2009-10-06 18:43:30 -0400
committerThomas Tsou <ttsou@vt.edu>2009-10-06 19:03:50 -0400
commit1a86e44fe225e412cad32dd16e2583effb4c701e (patch)
tree93decc7774664279da940e225a38a029c6204fcd
parentd155857dbe0e10203e622f1e02c65753f393fd58 (diff)
usrp: Corrected build fix for libusb
-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 73872eaef0..0c271e0f33 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