File: rpc.m4

package info (click to toggle)
mc 3%3A4.8.22-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,044 kB
  • sloc: ansic: 129,315; sh: 8,278; perl: 3,022; makefile: 2,138; yacc: 291; cs: 44; lisp: 44; sed: 16
file content (17 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>
					    ])
])