From 78d7ba897650c70bd32e28a75c4c9d734e068896 Mon Sep 17 00:00:00 2001 From: Martin Ebourne Date: Thu, 23 Feb 2006 17:09:30 +0000 Subject: Patch from Per Thomsen to skip kqueue check on NetBSD, required because the NetBSD kqueue is not compatible with the OpenBSD kqueue. This is a temporary workaround to be revisited for 0.11. --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e18a5942..714603b2 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,13 @@ AC_FUNC_CLOSEDIR_VOID AC_FUNC_ERROR_AT_LINE AC_TYPE_SIGNAL AC_FUNC_STAT -AC_CHECK_FUNCS([getpeereid kqueue lchown setproctitle getpid]) +AC_CHECK_FUNCS([getpeereid lchown setproctitle getpid]) +# NetBSD implements kqueue too differently for us to get it fixed by 0.10 +# TODO: Remove this when NetBSD kqueue implementation is working +netbsd_hack=`echo $target_os | sed 's/netbsd.*/netbsd/'` +if test "$netbsd_hack" != "netbsd"; then + AC_CHECK_FUNCS([kqueue]) +fi AX_FUNC_SYSCALL AX_CHECK_SYSCALL_LSEEK AC_CHECK_FUNCS([listxattr llistxattr getxattr lgetxattr setxattr lsetxattr]) -- cgit v1.2.3