tools: disable blktap2 by default

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
Wei Liu committed 2017-09-08 11:39:46 +01:00
1 parent 2b5d9b1b66
commit 1e251dd6b2
2 files changed
+4 -13

No files matched your search

+2 -6
View File
@@ -119,12 +119,8 @@ AC_SUBST(LINUX_BACKEND_MODULES)
dnl Enable blktap2 on Linux only.
AC_ARG_ENABLE([blktap2],
AS_HELP_STRING([--enable-blktap2],
[Enable blktap2, (DEFAULT is on for Linux, otherwise off)]),,[
case "$host_os" in
linux*)
enable_blktap2="yes";;
*) enable_blktap2="no";;
esac
[Enable blktap2, (DEFAULT is off)]),,[
enable_blktap2="no"
])
AS_IF([test "x$enable_blktap2" = "xyes"], [
AC_DEFINE([HAVE_BLKTAP2], [1], [Blktap2 enabled])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.