public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH 3/3] configure.ac: Added a v4.1 dependency on v4.0
Date: Thu, 22 Sep 2011 15:44:59 -0400	[thread overview]
Message-ID: <1316720699-2611-4-git-send-email-steved@redhat.com> (raw)
In-Reply-To: <1316720699-2611-1-git-send-email-steved@redhat.com>

Make sure v4.0 is enabled when v4.1 is enabled.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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=
-- 
1.7.6.2


  parent reply	other threads:[~2011-09-22 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 19:44 [PATCH 0/3] configure.ac: clean up Steve Dickson
2011-09-22 19:44 ` [PATCH 1/3] configure.ac: Remove the NFS v3 enable flag Steve Dickson
2011-09-22 19:44 ` [PATCH 2/3] configure.ac: Removed unused defines in config.h Steve Dickson
2011-09-22 19:44 ` Steve Dickson [this message]
2011-09-23 13:08 ` [PATCH 0/3] configure.ac: clean up Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316720699-2611-4-git-send-email-steved@redhat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox