summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorhjl <hjl>2002-09-12 21:06:16 +0000
committerhjl <hjl>2002-09-12 21:06:16 +0000
commit87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385 (patch)
tree15f6af17471f0fc489e236de98cf53fac64bf090 /configure.in
parent55ce21003ee0fb12fe5ef70909cdc8ce00b803e4 (diff)
downloadnfs-utils-87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385.tar.gz
nfs-utils-87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385.tar.xz
nfs-utils-87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385.zip
2002-09-12 H.J. Lu <hjl@lucon.org>
* configure.in: Check svctcp_socket and svcudp_socket. * configure: Regenerated. * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New. (HAVE_SVCUDP_SOCKET): New. * support/include/nfslib.h (svctcp_socket): New. (svcudp_socket): New. * support/nfs/Makefile (OBJS): Add svc_socket.o. * support/nfs/svc_socket.c: New. * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and svcudp_socket if port is unspecified. * utils/nfsd/nfsd.c (main): Call getservbyname for port. * utils/rquotad/rquota_svc.c: Include <nfslib.h>. (killer): New. Signal handler to unregister. (main): Use killer. Call svcudp_socket to get the default socket.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 08119d0..5403562 100644
--- a/configure.in
+++ b/configure.in
@@ -98,6 +98,8 @@ dnl *************************************************************
dnl Check for functions
dnl *************************************************************
AC_HAVE_FUNCS(innetgr)
+AC_HAVE_FUNCS(svctcp_socket)
+AC_HAVE_FUNCS(svcudp_socket)
dnl *************************************************************
dnl Export some path names to config.h