From 6d392776b0c65c02f53435cbc1adbbb6765dfaa6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 9 Sep 2020 15:56:06 +0200 Subject: [PATCH] configure: compile with vdo and writecache by default Enable compilation of vdo and writecache support as internaly supported segment types by default. For disabling use: --with-vdo=none --with-writcache=none --- WHATS_NEW | 1 + configure | 4 ++-- configure.ac | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 8f33c8ae4..1171eb2a9 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.03.11 - ================================== + Configure --with-vdo and --with-writecache as internal segments. Improving VDO man page examples. Switch code base to use flexible array syntax. Fix 64bit math when calculation cachevol size. diff --git a/configure b/configure index 716ee9ca7..7fdd20206 100755 --- a/configure +++ b/configure @@ -9586,7 +9586,7 @@ $as_echo_n "checking whether to include vdo... " >&6; } if test "${with_vdo+set}" = set; then : withval=$with_vdo; VDO=$withval else - VDO="none" + VDO="internal" fi @@ -9746,7 +9746,7 @@ $as_echo_n "checking whether to include writecache... " >&6; } if test "${with_writecache+set}" = set; then : withval=$with_writecache; WRITECACHE=$withval else - WRITECACHE="none" + WRITECACHE="internal" fi diff --git a/configure.ac b/configure.ac index 9a0e41a81..3e9ed25f5 100644 --- a/configure.ac +++ b/configure.ac @@ -607,7 +607,7 @@ AC_MSG_CHECKING(whether to include vdo) AC_ARG_WITH(vdo, AC_HELP_STRING([--with-vdo=TYPE], [vdo support: internal/none [internal]]), - VDO=$withval, VDO="none") + VDO=$withval, VDO="internal") AC_MSG_RESULT($VDO) @@ -655,7 +655,7 @@ AC_MSG_CHECKING(whether to include writecache) AC_ARG_WITH(writecache, AC_HELP_STRING([--with-writecache=TYPE], [writecache support: internal/none [none]]), - WRITECACHE=$withval, WRITECACHE="none") + WRITECACHE=$withval, WRITECACHE="internal") AC_MSG_RESULT($WRITECACHE) -- 2.43.5