aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Rezanina <mrezanin@redhat.com>2021-07-07 03:51:44 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-07-09 18:19:00 +0200
commit5cd5d8a71a70f2291f688c3851de4f438e5cd0f8 (patch)
treeb6aaee0f8ebeba385e128dc089d1d388844c4e48
parent12033e16e94538b2b37f65f41cbd86f78cda1cac (diff)
configure: fix libpmem configuration option
For some reason, libpmem option setting was set to work in an opposite way (--enable-libpmem disabled it and vice versa). Fixing this so configuration works properly. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Reviewed-by: Connor Kuehl <ckuehl@redhat.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Connor Kuehl <ckuehl@redhat.com> Message-Id: <20210707075144.82717-1-mrezanin@redhat.com> Fixes: e36e8c70f6 ("configure, meson: convert libpmem detection to meson", 2021-07-06) Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4f51528a77..a172c83e15 100755
--- a/configure
+++ b/configure
@@ -1501,9 +1501,9 @@ for opt do
;;
--disable-debug-mutex) debug_mutex=no
;;
- --enable-libpmem) libpmem=disabled
+ --enable-libpmem) libpmem="enabled"
;;
- --disable-libpmem) libpmem=enabled
+ --disable-libpmem) libpmem="disabled"
;;
--enable-xkbcommon) xkbcommon="enabled"
;;