mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
buildsys: remove orphaned rpc checks after samba was deleted
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
6e95a0be43
commit
901a1a98a9
@ -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
|
||||
|
@ -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>
|
||||
])
|
||||
])
|
Loading…
Reference in New Issue
Block a user