]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
configure.ac: Added a v4.1 dependency on v4.0
authorSteve Dickson <steved@redhat.com>
Fri, 23 Sep 2011 13:16:31 +0000 (09:16 -0400)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:48 +0000 (16:16 +0200)
Make sure v4.0 is enabled when v4.1 is enabled.

Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index 61b9c004aedaec8fc3c7101c8b60f36eda0fbbdf..a7b418d1f054b29b2d66ed1661d79b6736a97c5d 100644 (file)
@@ -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=