From 973e840d1dcbed0b1bd5b1293ec8fd008a5bf469 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Fri, 23 Sep 2011 09:16:31 -0400 Subject: [PATCH] configure.ac: Added a v4.1 dependency on v4.0 Make sure v4.0 is enabled when v4.1 is enabled. Signed-off-by: Steve Dickson --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 61b9c00..a7b418d 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,9 @@ AC_ARG_ENABLE(nfsv41, enable_nfsv41=$enableval, enable_nfsv41=yes) if test "$enable_nfsv41" = yes; then + if test "$enable_nfsv4" != yes; then + AC_MSG_ERROR([NFS v4.1 is enabled but NFS v4 is not. Use --disable-nfsv41]) + fi BLKMAPD=blkmapd else enable_nfsv41= -- 2.39.5