Disable OLS driver on Windows.

This commit is contained in:
Martin Ling 2013-12-07 19:42:35 +00:00
parent b6eb8252e5
commit 37fa80b4be
1 changed files with 8 additions and 0 deletions

View 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.