From 901a1a98a9aa711dd6ed2745e0e64a05d75c8ad7 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Mon, 23 Sep 2024 18:01:15 +0200 Subject: [PATCH] buildsys: remove orphaned rpc checks after samba was deleted Signed-off-by: Yury V. Zaytsev --- m4.include/mc-vfs.m4 | 3 --- m4.include/vfs/rpc.m4 | 17 ----------------- 2 files changed, 20 deletions(-) delete mode 100644 m4.include/vfs/rpc.m4 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 - ]) -])