]> granicus.if.org Git - strace/commitdiff
2004-04-16 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Fri, 16 Apr 2004 21:48:42 +0000 (21:48 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 16 Apr 2004 21:48:42 +0000 (21:48 +0000)
* configure.ac: Check for <mqueue.h>.
* ipc.c (sys_mq_open, printmqattr) [! HAVE_MQUEUE_H]: Don't try to
decode struct mq_attr.

configure.ac

index a49cf1e26468bec5bb5cebcbef3605acdad58735..04250008f7b3d7a46715ab0dc78f4b3c35d5e7ec 100644 (file)
@@ -188,7 +188,7 @@ 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 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 mqueue.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>])