configure: set blktap2 availability on configure

blktap2 will be enabled by default on Linux systems only, also give
the oportunity to disable it from configure.

Remove the gate in the Makefile that only allows enabling blktap{1,2}
on Linux, since this is now done in a more flexible way on configure.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- reran autogen.sh ]
This commit is contained in:
Roger Pau Monne authored and Ian Campbell committed 2014-06-27 14:13:22 +01:00
1 parent 42642dbd85
commit 653881ce41
5 files changed
+54 -4

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Blktap2 enabled */
#undef HAVE_BLKTAP2
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
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.