]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: error out when asked for mpath on non-Linux
authorJán Tomko <jtomko@redhat.com>
Fri, 17 Jun 2016 09:55:04 +0000 (11:55 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 17 Jun 2016 13:35:46 +0000 (15:35 +0200)
configure.ac

index 848ecd69ce1c101682e2336c0294ccbfba146cab..ab5110bf5a2f4a95d663152ccbfdfd46c46619b1 100644 (file)
@@ -1866,6 +1866,9 @@ if test "$with_storage_mpath" = "check" || test "$with_storage_mpath" = "yes"; t
       AC_DEFINE_UNQUOTED([WITH_STORAGE_MPATH], 1,
         [whether mpath backend for storage driver is enabled])
    else
+      if test "$with_storage_mpath" = "yes"; then
+        AC_MSG_ERROR([mpath storage is only supported on Linux])
+      fi
       with_storage_mpath=no
    fi
 fi