]> sigrok.org Git - libsigrok.git/commitdiff
sr: build: hantek-dso driver requires libusb as well
authorBert Vermeulen <redacted>
Sun, 29 Jul 2012 13:21:08 +0000 (15:21 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 09:29:00 +0000 (11:29 +0200)
configure.ac

index d5e48450972287bc1bbec445a7f73710e24449c5..f177c87f56f900cb0e642a24338515e7b28a87c4 100644 (file)
@@ -191,8 +191,9 @@ PKG_CHECK_MODULES([gthread], [gthread-2.0 >= 2.22.0],
 # libusb is only needed for some hardware drivers.
 if test "x$LA_ASIX_SIGMA" != xno \
    -o "x$LA_CHRONOVU_LA8" != xno \
-   -o "x$LA_ZEROPLUS_LOGIC_CUBE" != xno \
-   -o "x$LA_FX2LAFW" != xno; then
+   -o "x$LA_FX2LAFW" != xno \
+   -o "x$HW_HANTEK_DSO" != xno \
+   -o "x$LA_ZEROPLUS_LOGIC_CUBE" != xno; then
        case "$build" in
        *freebsd*)
                # FreeBSD comes with an "integrated" libusb-1.0-style USB API.