Skip to content

Commit

Permalink
configure: fix libpmem configuration option
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Connor Kuehl <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Connor Kuehl <[email protected]>
Message-Id: <[email protected]>
Fixes: e36e8c7 ("configure, meson: convert libpmem detection to meson", 2021-07-06)
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
LaneWolf authored and bonzini committed Jul 9, 2021
1 parent 12033e1 commit 5cd5d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down

0 comments on commit 5cd5d8a

Please sign in to comment.