* [PATCH 1/3] configure.ac: Remove the NFS v3 enable flag
2011-09-22 19:44 [PATCH 0/3] configure.ac: clean up Steve Dickson
@ 2011-09-22 19:44 ` Steve Dickson
2011-09-22 19:44 ` [PATCH 2/3] configure.ac: Removed unused defines in config.h Steve Dickson
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Steve Dickson @ 2011-09-22 19:44 UTC (permalink / raw)
To: Linux NFS Mailing list
Removed the unused macros that enable and disable V3.
Signed-off-by: Steve Dickson <steved@redhat.com>
---
configure.ac | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index d85ab21..7f4b88c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,17 +55,6 @@ AC_ARG_WITH(start-statd,
)
AC_SUBST(startstatd)
AC_DEFINE_UNQUOTED(START_STATD, "$startstatd", [Define this to a script which can start statd on mount])
-AC_ARG_ENABLE(nfsv3,
- [AC_HELP_STRING([--enable-nfsv3],
- [enable support for NFSv3 @<:@default=yes@:>@])],
- enable_nfsv3=$enableval,
- enable_nfsv3=yes)
- if test "$enable_nfsv3" = yes; then
- AC_DEFINE(NFS3_SUPPORTED, 1, [Define this if you want NFSv3 support compiled in])
- else
- enable_nfsv3=
- fi
- AC_SUBST(enable_nfsv3)
AC_ARG_ENABLE(nfsv4,
[AC_HELP_STRING([--enable-nfsv4],
[enable support for NFSv4 @<:@default=yes@:>@])],
--
1.7.6.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] configure.ac: Removed unused defines in config.h
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 ` Steve Dickson
2011-09-22 19:44 ` [PATCH 3/3] configure.ac: Added a v4.1 dependency on v4.0 Steve Dickson
2011-09-23 13:08 ` [PATCH 0/3] configure.ac: clean up Steve Dickson
3 siblings, 0 replies; 5+ messages in thread
From: Steve Dickson @ 2011-09-22 19:44 UTC (permalink / raw)
To: Linux NFS Mailing list
Cleaned out 3 unused defines from config.h
Signed-off-by: Steve Dickson <steved@redhat.com>
---
configure.ac | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7f4b88c..61b9c00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,6 @@ AC_ARG_ENABLE(nfsv4,
enable_nfsv4=$enableval,
enable_nfsv4=yes)
if test "$enable_nfsv4" = yes; then
- AC_DEFINE(NFS4_SUPPORTED, 1, [Define this if you want NFSv4 support compiled in])
IDMAPD=idmapd
else
enable_nfsv4=
@@ -78,7 +77,6 @@ AC_ARG_ENABLE(nfsv41,
enable_nfsv41=yes)
if test "$enable_nfsv41" = yes; then
BLKMAPD=blkmapd
- AC_DEFINE(NFS41_SUPPORTED, 1, [Define this if you want NFSv41 support compiled in])
else
enable_nfsv41=
BLKMAPD=
@@ -92,7 +90,6 @@ AC_ARG_ENABLE(gss,
enable_gss=$enableval,
enable_gss=yes)
if test "$enable_gss" = yes; then
- AC_DEFINE(GSS_SUPPORTED, 1, [Define this if you want rpcsec_gss support compiled in])
GSSD=gssd
SVCGSSD=svcgssd
else
--
1.7.6.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] configure.ac: Added a v4.1 dependency on v4.0
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
2011-09-23 13:08 ` [PATCH 0/3] configure.ac: clean up Steve Dickson
3 siblings, 0 replies; 5+ messages in thread
From: Steve Dickson @ 2011-09-22 19:44 UTC (permalink / raw)
To: Linux NFS Mailing list
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] configure.ac: clean up.
2011-09-22 19:44 [PATCH 0/3] configure.ac: clean up Steve Dickson
` (2 preceding siblings ...)
2011-09-22 19:44 ` [PATCH 3/3] configure.ac: Added a v4.1 dependency on v4.0 Steve Dickson
@ 2011-09-23 13:08 ` Steve Dickson
3 siblings, 0 replies; 5+ messages in thread
From: Steve Dickson @ 2011-09-23 13:08 UTC (permalink / raw)
To: Steve Dickson; +Cc: Linux NFS Mailing list
On 09/22/2011 03:44 PM, Steve Dickson wrote:
> Steve Dickson (3):
> configure.ac: Remove the NFS v3 enable flag
> configure.ac: Removed unused defines in config.h
> configure.ac: Added a v4.1 dependency on v4.0
>
> configure.ac | 17 +++--------------
> 1 files changed, 3 insertions(+), 14 deletions(-)
>
All three committed...
steved.
^ permalink raw reply [flat|nested] 5+ messages in thread