From dadd359a74be665dae30788b7952f7b8c41e2e80 Mon Sep 17 00:00:00 2001
From: "Yury V. Zaytsev" <yury@shurup.com>
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 <yury@shurup.com>
---
m4.include/mc-vfs.m4 | 2 --
m4.include/vfs/rpc.m4 | 17 -----------------
2 files changed, 19 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..63a5dbfd0 100644
a
|
b
|
AC_DEFUN([mc_ENABLE_VFS_NET], |
41 | 41 | #include <sys/socket.h> |
42 | 42 | ]) |
43 | 43 | |
44 | | AC_CHECK_RPC |
45 | | |
46 | 44 | enable_vfs_net=yes |
47 | 45 | AC_DEFINE(ENABLE_VFS_NET, [1], [Define to enable network VFSes support]) |
48 | 46 | fi |
diff --git a/m4.include/vfs/rpc.m4 b/m4.include/vfs/rpc.m4
deleted file mode 100644
index 43490d9db..000000000
+
|
-
|
|
1 | | AC_DEFUN([AC_CHECK_RPC], |
2 | | [ |
3 | | AC_CHECK_FUNCS(pmap_set, , [ |
4 | | AC_CHECK_LIB(rpc, pmap_set, [ |
5 | | LIBS="-lrpc $LIBS" |
6 | | AC_DEFINE(HAVE_PMAP_SET) |
7 | | ])]) |
8 | | AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport) |
9 | | dnl add for source routing support setsockopt |
10 | | AC_CHECK_HEADERS(rpc/pmap_clnt.h, , , [ |
11 | | #include <sys/types.h> |
12 | | #include <sys/socket.h> |
13 | | #include <netinet/in.h> |
14 | | #include <rpc/rpc.h> |
15 | | #include <rpc/pmap_prot.h> |
16 | | ]) |
17 | | ]) |