summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael Dickens2010-09-16 21:07:29 -0400
committerJohnathan Corgan2010-10-06 12:03:33 -0700
commitd62b41974ce664e571da281e859abec31a492f62 (patch)
treeeff0df2d1693337c7853ee56f7b462fa321389e9 /config
parent02e861042a55a29a9d23e34d3a193d31d183ae15 (diff)
downloadgnuradio-d62b41974ce664e571da281e859abec31a492f62.tar.gz
gnuradio-d62b41974ce664e571da281e859abec31a492f62.tar.bz2
gnuradio-d62b41974ce664e571da281e859abec31a492f62.zip
Fixed setting of USB_LIBS for *win*
Diffstat (limited to 'config')
-rw-r--r--config/usrp_libusb.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4
index 588a958e0..a434d379d 100644
--- a/config/usrp_libusb.m4
+++ b/config/usrp_libusb.m4
@@ -129,12 +129,6 @@ AC_DEFUN([USRP_LIBUSB], [
]], [[return $usb_lib_func ();]])],
[libusbok=yes],[libusbok=no])
AC_MSG_RESULT([$libusbok])
- case "$host_os" in
- cygwin* | mingw*)
- USB_LIBS="$LIBS"
- ;;
- *) ;;
- esac
LIBS="$save_LIBS"
AC_LANG_POP(C)
@@ -197,6 +191,12 @@ AC_DEFUN([USRP_LIBUSB], [
AC_CHECK_LIB([$usb_lib_name], [$usb_lib_func], [], [
libusbok=no
AC_MSG_RESULT([USRP requires library '$usb_lib_name' with function '$usb_lib_func', which was either not found or was not usable. See http://www.libusb.org])])
+ case "$host_os" in
+ cygwin* | mingw*)
+ USB_LIBS="$LIBS"
+ ;;
+ *) ;;
+ esac
LIBS="$save_LIBS"
CPPFLAGS="$save_CPPFLAGS"
AC_LANG_POP(C)