]> sigrok.org Git - libsigrok.git/commitdiff
Disable OLS driver on Windows.
authorMartin Ling <redacted>
Sat, 7 Dec 2013 19:42:35 +0000 (19:42 +0000)
committerMartin Ling <redacted>
Sat, 7 Dec 2013 19:43:47 +0000 (19:43 +0000)
configure.ac

index e14f4a25ee661c60f57923a17b858a2931acdca0..341873a013b0885b9a1fe3aa988eac11e46e6538 100644 (file)
@@ -346,6 +346,14 @@ PKG_CHECK_MODULES([check], [check >= 0.9.4],
        LIBS="$LIBS $check_LIBS"], [have_check="no"])
 AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
 
+# The OLS driver uses serial port file descriptors directly, and therefore
+# will not currently work on Windows.
+case "$host" in
+*mingw*)
+       HW_OLS="no"
+       ;;
+esac
+
 AC_SUBST(SR_PKGLIBS)
 
 # Now set AM_CONDITIONALs and AC_DEFINEs for the enabled/disabled drivers.