]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 70d6794f70a95f3cd3ab0a8a12ae44b18f4fd03f..71297fd36e204b2eacdce6b6443c03fb191afe74 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