[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] configure: Fix mpath check on non-Linux systems



2011/5/13 Daniel P. Berrange <berrange redhat com>:
> On Fri, May 13, 2011 at 07:51:24AM +0200, Matthias Bolte wrote:
>> ---
>>  configure.ac |   14 +++++++++-----
>>  1 files changed, 9 insertions(+), 5 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index a2ce97e..4f5c2d7 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -1667,11 +1667,15 @@ if test "$with_storage_scsi" = "check"; then
>>  fi
>>  AM_CONDITIONAL([WITH_STORAGE_SCSI], [test "$with_storage_scsi" = "yes"])
>>
>> -if test "$with_storage_mpath" = "check" && test "$with_linux" = "yes"; then
>> -   with_storage_mpath=yes
>> -
>> -   AC_DEFINE_UNQUOTED([WITH_STORAGE_MPATH], 1,
>> -     [whether mpath backend for storage driver is enabled])
>> +if test "$with_storage_mpath" = "check"; then
>> +   if test "$with_linux" = "yes"; then
>> +      with_storage_mpath=yes
>> +
>> +      AC_DEFINE_UNQUOTED([WITH_STORAGE_MPATH], 1,
>> +        [whether mpath backend for storage driver is enabled])
>> +   else
>> +      with_storage_mpath=no
>> +   fi
>>  fi
>>  AM_CONDITIONAL([WITH_STORAGE_MPATH], [test "$with_storage_mpath" = "yes"])
>
> ACK
>
> Daniel

Thanks, pushed.

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]