From c5be15ef423e62eb1eca2dcdf5869fb2480bffc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Fri, 17 Jun 2016 11:55:04 +0200 Subject: [PATCH] configure: error out when asked for mpath on non-Linux --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 848ecd69ce..ab5110bf5a 100644 --- a/configure.ac +++ b/configure.ac @@ -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