[Box Backup-dev] COMMIT r487 - box/trunk

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Feb 23 17:09:31 GMT 2006


Author: martin
Date: 2006-02-23 17:09:30 +0000 (Thu, 23 Feb 2006)
New Revision: 487

Modified:
   box/trunk/configure.ac
Log:
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.

Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac	2006-02-23 01:56:02 UTC (rev 486)
+++ box/trunk/configure.ac	2006-02-23 17:09:30 UTC (rev 487)
@@ -136,7 +136,13 @@
 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])




More information about the Boxbackup-dev mailing list