blob: cfaa7ba4378b33a0b2d275e214f3941b6fdf59ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.4 2004/03/28 22:01:54 minskim Exp $
--- configure.ac.orig 2003-11-26 13:47:59.000000000 -0600
+++ configure.ac
@@ -31,7 +31,7 @@ AC_CHECK_LIB([rpcsvc], [pmap_set])
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS([fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/sysmacros.h])
if test "$have_sys_imon_h"; then
MONITOR_FUNCS=IMonIRIX
@@ -51,7 +51,8 @@ AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
-AC_CHECK_MEMBERS(struct sockaddr.sa_len, struct sockaddr_un.sun_len)
+AC_CHECK_MEMBERS(struct sockaddr.sa_len,,,[#include <sys/socket.h>])
+AC_CHECK_MEMBERS(struct sockaddr_un.sun_len,,,[#include <sys/un.h>])
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
|