mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
configure: error out when asked for mpath on non-Linux
This commit is contained in:
parent
7303e7079c
commit
c5be15ef42
@ -1866,6 +1866,9 @@ if test "$with_storage_mpath" = "check" || test "$with_storage_mpath" = "yes"; t
|
|||||||
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
|
else
|
||||||
|
if test "$with_storage_mpath" = "yes"; then
|
||||||
|
AC_MSG_ERROR([mpath storage is only supported on Linux])
|
||||||
|
fi
|
||||||
with_storage_mpath=no
|
with_storage_mpath=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user