mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
configure: Fix mpath check on non-Linux systems
This commit is contained in:
parent
028c30885e
commit
6593a5cbfd
12
configure.ac
12
configure.ac
@ -1667,11 +1667,15 @@ if test "$with_storage_scsi" = "check"; then
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([WITH_STORAGE_SCSI], [test "$with_storage_scsi" = "yes"])
|
AM_CONDITIONAL([WITH_STORAGE_SCSI], [test "$with_storage_scsi" = "yes"])
|
||||||
|
|
||||||
if test "$with_storage_mpath" = "check" && test "$with_linux" = "yes"; then
|
if test "$with_storage_mpath" = "check"; then
|
||||||
with_storage_mpath=yes
|
if test "$with_linux" = "yes"; then
|
||||||
|
with_storage_mpath=yes
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([WITH_STORAGE_MPATH], 1,
|
AC_DEFINE_UNQUOTED([WITH_STORAGE_MPATH], 1,
|
||||||
[whether mpath backend for storage driver is enabled])
|
[whether mpath backend for storage driver is enabled])
|
||||||
|
else
|
||||||
|
with_storage_mpath=no
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([WITH_STORAGE_MPATH], [test "$with_storage_mpath" = "yes"])
|
AM_CONDITIONAL([WITH_STORAGE_MPATH], [test "$with_storage_mpath" = "yes"])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user