summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-02-23 17:09:30 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-02-23 17:09:30 +0000
commit78d7ba897650c70bd32e28a75c4c9d734e068896 (patch)
treefd9842b107b5ef06d4d5bfcfa617a2c23814d0af
parenta167a7dc42bd3765fe77b615a1226b4a0c3f6731 (diff)
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.
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
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])