summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-03-16 13:29:18 -0400
committerSteve Dickson <steved@redhat.com>2009-03-16 13:29:18 -0400
commitd271666403a87e60bbdee85372b6dcf35c2975ed (patch)
tree19df56e817fe6a9e01bd011c4b726ae7526ffdb3 /aclocal
parent31c4305a67ca434ea5614f5bdb083fbe9acc2f7e (diff)
downloadnfs-utils-d271666403a87e60bbdee85372b6dcf35c2975ed.tar.gz
nfs-utils-d271666403a87e60bbdee85372b6dcf35c2975ed.tar.xz
nfs-utils-d271666403a87e60bbdee85372b6dcf35c2975ed.zip
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>
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/libtirpc.m45
1 files changed, 0 insertions, 5 deletions
diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4
index 67c4012..b1f3669 100644
--- a/aclocal/libtirpc.m4
+++ b/aclocal/libtirpc.m4
@@ -15,11 +15,6 @@ AC_DEFUN([AC_LIBTIRPC], [
AC_CHECK_HEADERS([tirpc/netconfig.h], ,
[AC_MSG_ERROR([libtirpc headers not found.])])
- dnl set up HAVE_FOO for various functions
- AC_CHECK_FUNCS([getnetconfig \
- clnt_create clnt_create_timed \
- clnt_vc_create clnt_dg_create xdr_rpcb])
-
fi
])dnl