]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfs-utils: fix default value for --enable-tirpc
authorJeff Layton <jlayton@redhat.com>
Thu, 28 Oct 2010 13:18:33 +0000 (09:18 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 1 Nov 2010 12:05:14 +0000 (08:05 -0400)
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 <chuck.lever@oracle.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index 3058be6cfcafa2632a374c9d63e4ba1995faefdd..5408e85c14bda09be330453beeaf823c5e260ec5 100644 (file)
@@ -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@:>@])],