diff --git a/m4.include/mc-vfs.m4 b/m4.include/mc-vfs.m4 index 82567bda3..1b2327632 100644 --- a/m4.include/mc-vfs.m4 +++ b/m4.include/mc-vfs.m4 @@ -7,7 +7,6 @@ AC_DEFUN([mc_VFS_ADDNAME], fi ]) -m4_include([m4.include/vfs/rpc.m4]) m4_include([m4.include/vfs/socket.m4]) m4_include([m4.include/vfs/mc-vfs-extfs.m4]) m4_include([m4.include/vfs/mc-vfs-sfs.m4]) @@ -41,8 +40,6 @@ AC_DEFUN([mc_ENABLE_VFS_NET], #include ]) - AC_CHECK_RPC - enable_vfs_net=yes AC_DEFINE(ENABLE_VFS_NET, [1], [Define to enable network VFSes support]) fi diff --git a/m4.include/vfs/rpc.m4 b/m4.include/vfs/rpc.m4 deleted file mode 100644 index 43490d9db..000000000 --- a/m4.include/vfs/rpc.m4 +++ /dev/null @@ -1,17 +0,0 @@ -AC_DEFUN([AC_CHECK_RPC], -[ - AC_CHECK_FUNCS(pmap_set, , [ - AC_CHECK_LIB(rpc, pmap_set, [ - LIBS="-lrpc $LIBS" - AC_DEFINE(HAVE_PMAP_SET) - ])]) - AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport) - dnl add for source routing support setsockopt - AC_CHECK_HEADERS(rpc/pmap_clnt.h, , , [ -#include -#include -#include -#include -#include - ]) -])