diff mbox series

Fix libdaxctl option

Message ID 20210707063124.81954-1-mrezanin@redhat.com
State New
Headers show
Series Fix libdaxctl option | expand

Commit Message

Miroslav Rezanina July 7, 2021, 6:31 a.m. UTC
For some reason, libdaxctl option setting was set to work in an opposite
way (--enable-libdaxctl disabled it and vice versa). Fixing this so
configuration works properly.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Huth July 7, 2021, 6:35 a.m. UTC | #1
On 07/07/2021 08.31, Miroslav Rezanina wrote:
> For some reason, libdaxctl option setting was set to work in an opposite
> way (--enable-libdaxctl disabled it and vice versa). Fixing this so
> configuration works properly.
> 
> Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
> ---
>   configure | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index 650d9c0735..4f51528a77 100755
> --- a/configure
> +++ b/configure
> @@ -1531,9 +1531,9 @@ for opt do
>     ;;
>     --disable-keyring) secret_keyring="no"
>     ;;
> -  --enable-libdaxctl) libdaxctl=disabled
> +  --enable-libdaxctl) libdaxctl="enabled"
>     ;;
> -  --disable-libdaxctl) libdaxctl=enabled
> +  --disable-libdaxctl) libdaxctl="disabled"
>     ;;
>     --enable-fuse) fuse="enabled"
>     ;;
> 

Fixes: 83ef16821a ("configure, meson: convert libdaxctl detection to meson")

Reviewed-by: Thomas Huth <thuth@redhat.com>
Philippe Mathieu-Daudé July 7, 2021, 8:13 a.m. UTC | #2
On 7/7/21 8:35 AM, Thomas Huth wrote:
> On 07/07/2021 08.31, Miroslav Rezanina wrote:
>> For some reason, libdaxctl option setting was set to work in an opposite
>> way (--enable-libdaxctl disabled it and vice versa). Fixing this so
>> configuration works properly.
>>
>> Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
>> ---
>>   configure | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 650d9c0735..4f51528a77 100755
>> --- a/configure
>> +++ b/configure
>> @@ -1531,9 +1531,9 @@ for opt do
>>     ;;
>>     --disable-keyring) secret_keyring="no"
>>     ;;
>> -  --enable-libdaxctl) libdaxctl=disabled
>> +  --enable-libdaxctl) libdaxctl="enabled"
>>     ;;
>> -  --disable-libdaxctl) libdaxctl=enabled
>> +  --disable-libdaxctl) libdaxctl="disabled"
>>     ;;
>>     --enable-fuse) fuse="enabled"
>>     ;;
>>
> 
> Fixes: 83ef16821a ("configure, meson: convert libdaxctl detection to
> meson")
> 
> Reviewed-by: Thomas Huth <thuth@redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/configure b/configure
index 650d9c0735..4f51528a77 100755
--- a/configure
+++ b/configure
@@ -1531,9 +1531,9 @@  for opt do
   ;;
   --disable-keyring) secret_keyring="no"
   ;;
-  --enable-libdaxctl) libdaxctl=disabled
+  --enable-libdaxctl) libdaxctl="enabled"
   ;;
-  --disable-libdaxctl) libdaxctl=enabled
+  --disable-libdaxctl) libdaxctl="disabled"
   ;;
   --enable-fuse) fuse="enabled"
   ;;