[Box Backup-commit] COMMIT r2234 - box/trunk

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sun, 10 Aug 2008 22:41:30 +0100 (BST)


Author: chris
Date: 2008-08-10 22:41:29 +0100 (Sun, 10 Aug 2008)
New Revision: 2234

Modified:
   box/trunk/configure.ac
Log:
Check for waitpid() function in configure.


Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac	2008-08-10 21:40:59 UTC (rev 2233)
+++ box/trunk/configure.ac	2008-08-10 21:41:29 UTC (rev 2234)
@@ -212,13 +212,15 @@
 AC_FUNC_ERROR_AT_LINE
 AC_TYPE_SIGNAL
 AC_FUNC_STAT
-AC_CHECK_FUNCS([getpeereid lchown setproctitle getpid gettimeofday])
+AC_CHECK_FUNCS([getpeereid lchown setproctitle getpid gettimeofday waitpid])
+
 # 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])