buildsys: remove orphaned rpc checks after samba was deleted

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Yury V. Zaytsev 2024-09-23 18:01:15 +02:00 committed by Andrew Borodin
parent 6e95a0be43
commit 901a1a98a9
2 changed files with 0 additions and 20 deletions

View File

@ -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 <sys/socket.h>
])
AC_CHECK_RPC
enable_vfs_net=yes
AC_DEFINE(ENABLE_VFS_NET, [1], [Define to enable network VFSes support])
fi

View File

@ -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 <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
])
])