mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
configure: define preprocessor macros for SCSI and MPATH
This fixes building these backends when explicitly enabled
on the command line.
Exposed by commit a659559
which started adding
--with-storage-mpath in the spec file.
https://bugzilla.redhat.com/show_bug.cgi?id=1346724
This commit is contained in:
parent
b31b3eee85
commit
7303e7079c
@ -1851,7 +1851,7 @@ else
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([WITH_STORAGE_ISCSI], [test "$with_storage_iscsi" = "yes"])
|
AM_CONDITIONAL([WITH_STORAGE_ISCSI], [test "$with_storage_iscsi" = "yes"])
|
||||||
|
|
||||||
if test "$with_storage_scsi" = "check"; then
|
if test "$with_storage_scsi" = "check" || test "$with_storage_scsi" = "yes"; then
|
||||||
with_storage_scsi=yes
|
with_storage_scsi=yes
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([WITH_STORAGE_SCSI], 1,
|
AC_DEFINE_UNQUOTED([WITH_STORAGE_SCSI], 1,
|
||||||
@ -1859,7 +1859,7 @@ 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"; then
|
if test "$with_storage_mpath" = "check" || test "$with_storage_mpath" = "yes"; then
|
||||||
if test "$with_linux" = "yes"; then
|
if test "$with_linux" = "yes"; then
|
||||||
with_storage_mpath=yes
|
with_storage_mpath=yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user