configure.ac: When v4 is disable v4.1 should also be disabled.
authorSteve Dickson <steved@redhat.com>
Thu, 8 Nov 2012 22:00:12 +0000 (17:00 -0500)
committerSteve Dickson <steved@redhat.com>
Sun, 11 Nov 2012 23:01:23 +0000 (18:01 -0500)
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index 70d6794..71297fd 100644 (file)
@@ -76,7 +76,8 @@ AC_ARG_ENABLE(nfsv41,
        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])
+                       AC_MSG_WARN([NFS v4 is not enabled. Disabling NFS v4.1])
+                       enable_nfsv41=no
                fi
                BLKMAPD=blkmapd
        else