summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-06-29 13:38:18 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2018-07-09 15:28:35 +0200
commit4a90b0c4c92564adb1569824f22dc0d9a1badf5e (patch)
tree664c7f2887dc2e4446f7f983a20579a09faf64b0 /include
parent2e05f6018bc3cbc8104ea53fb8a3e041ef5f899a (diff)
downloadlvm2-4a90b0c4c92564adb1569824f22dc0d9a1badf5e.tar.gz
build: add vdo configuration option --with-vdo=
Checks whether VDO support is enabled. Detects presence of 'vdoformat' tool which is required for to format VDO pool. ATM build of VDO is NOT automatically enabled (None is default). To enable build of LVM with VDO support use: configure --with-vdo=internal TODO: Maybe future version may switch to link some small VDO library for formating (would require linking and package dependency).
Diffstat (limited to 'include')
-rw-r--r--include/configure.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configure.h.in b/include/configure.h.in
index 50e35f780..f68b09238 100644
--- a/include/configure.h.in
+++ b/include/configure.h.in
@@ -672,6 +672,12 @@
/* Enable a valgrind aware build of pool */
#undef VALGRIND_POOL
+/* The path to 'vdoformat', if available. */
+#undef VDO_FORMAT_CMD
+
+/* Define to 1 to include built-in support for vdo. */
+#undef VDO_INTERNAL
+
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */