]> granicus.if.org Git - strace/commitdiff
2003-01-10 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Fri, 10 Jan 2003 19:55:30 +0000 (19:55 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 10 Jan 2003 19:55:30 +0000 (19:55 +0000)
* configure.ac: Fix siginfo_t/sig_atomic_t checks.
Use prerequisite #include <netinet/in.h> for netinet/*.h checks.

configure.ac

index b99effcb887cc0b78fc67032394c43484dd14ab2..664a5c98cda484fc0083a11834c5a5c9b880d463 100644 (file)
@@ -167,7 +167,7 @@ AC_TYPE_UID_T
 AC_TYPE_MODE_T
 AC_TYPE_GETGROUPS
 AC_HEADER_MAJOR
-AC_CHECK_TYPES(sig_atomic_t siginfo_t,,, [#include <signal.h>])
+AC_CHECK_TYPES([sig_atomic_t. siginfo_t],,, [#include <signal.h>])
 AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,, [#include <netinet/in.h])
 AC_CHECK_TYPES([long long])
 AC_LITTLE_ENDIAN_LONG_LONG
@@ -181,10 +181,11 @@ AC_CHECK_LIB(nsl, main)
 fi
 
 AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl prctl sendmsg inet_ntop if_indextoname)
-AC_CHECK_HEADERS([sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h  poll.h sys/poll.h sys/vfs.h netinet/tcp.h netinet/udp.h asm/sysmips.h linux/utsname.h sys/nscsys.h], [], [])
+AC_CHECK_HEADERS([sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h  poll.h sys/poll.h sys/vfs.h asm/sysmips.h linux/utsname.h sys/nscsys.h], [], [])
 AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
                  [], [], [#include <linux/socket.h>])
 AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
+AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include <netinet/in.h>])
 
 AC_MP_PROCFS
 AC_POLLABLE_PROCFS
@@ -192,6 +193,11 @@ AC_POLLABLE_PROCFS
 AC_CHECK_MEMBERS([struct msghdr.msg_control],,, [#include <sys/socket.h>])
 AC_STRUCT_PR_SYSCALL
 
+AC_CHECK_MEMBERS([struct T_conn_res.QUEUE_ptr,
+                  struct T_conn_res.ACCEPTOR_id],,,
+[#include <sys/stream.h>
+#include <sys/tihdr.h>])
+
 AC_CHECK_DECLS([sys_errlist])
 AC_CHECK_DECLS([sys_siglist, _sys_siglist],,, [#include <signal.h>])