From: Jeff Layton Date: Thu, 28 Oct 2010 13:18:33 +0000 (-0400) Subject: nfs-utils: fix default value for --enable-tirpc X-Git-Tag: nfs-utils-1-2-4-rc2~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f8e315543b7f1db7f37a4bfe8ede3020cef62868;p=nfs-utils.git nfs-utils: fix default value for --enable-tirpc We need $enable_tirpc to be a tristate. 'yes' means that someone explicitly requested building with tirpc. 'no' means that it was explicitly disabled. Anything else means that no one specified a value. Fix it by setting the value to a blank string so that the default is properly undefined. Reported-by: Chuck Lever Signed-off-by: Jeff Layton Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index 3058be6..5408e85 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,7 @@ AC_ARG_ENABLE(tirpc, [AC_HELP_STRING([--enable-tirpc], [enable use of TI-RPC @<:@default=yes@:>@])], enable_tirpc=$enableval, - enable_tirpc='yes') + enable_tirpc='') AC_ARG_ENABLE(ipv6, [AC_HELP_STRING([--enable-ipv6], [enable support for IPv6 @<:@default=no@:>@])],