nfs-utils: replace function-specific switches with HAVE_LIBTIRPC
authorChuck Lever <chuck.lever@oracle.com>
Mon, 16 Mar 2009 17:29:18 +0000 (13:29 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 16 Mar 2009 17:29:18 +0000 (13:29 -0400)
commitd271666403a87e60bbdee85372b6dcf35c2975ed
tree19df56e817fe6a9e01bd011c4b726ae7526ffdb3
parent31c4305a67ca434ea5614f5bdb083fbe9acc2f7e
nfs-utils: replace function-specific switches with HAVE_LIBTIRPC

Instead of switching in TI-RPC-specific logic with a function-specific
switch like HAVE_CLNT_VG_CREATE, let's use the more generic
HAVE_LIBTIRPC macro everywhere.

This simplifies ./configure (always a good thing), and makes it more
clear in the source code exactly what the extra conditionally compiled
code is for.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
aclocal/libtirpc.m4
support/nfs/getport.c
support/nfs/rpc_socket.c