From: Martin Ling Date: Sat, 7 Dec 2013 19:42:35 +0000 (+0000) Subject: Disable OLS driver on Windows. X-Git-Tag: libsigrok-0.3.0~452 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=37fa80b4be4808958340b56dc62265e2d4f14e85 Disable OLS driver on Windows. --- diff --git a/configure.ac b/configure.ac index e14f4a25..341873a0 100644 --- a/configure.ac +++ b/configure.ac @@ -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.