# HG changeset patch # User Andrew John Hughes # Date 1317084475 -3600 # Node ID cfd5af6eb76c81ac4ad2e65e4fadeb02cb3d6988 # Parent ee3b02974ac615acd308a90db77cc14120768377 Check for headers required for syscalls. 2011-09-27 Andrew John Hughes * acinclude.m4: (IT_CHECK_FOR_SYSCALLS): Include checks for required headers: sys/epoll.h and attr/xattr.h. diff -r ee3b02974ac6 -r cfd5af6eb76c ChangeLog --- a/ChangeLog Mon Sep 26 14:10:17 2011 +0200 +++ b/ChangeLog Tue Sep 27 01:47:55 2011 +0100 @@ -1,3 +1,10 @@ +2011-09-27 Andrew John Hughes + + * acinclude.m4: + (IT_CHECK_FOR_SYSCALLS): Include checks + for required headers: sys/epoll.h and + attr/xattr.h. + 2011-09-26 Xerxes RĂ„nby Mark David Dumlao diff -r ee3b02974ac6 -r cfd5af6eb76c acinclude.m4 --- a/acinclude.m4 Mon Sep 26 14:10:17 2011 +0200 +++ b/acinclude.m4 Tue Sep 27 01:47:55 2011 +0100 @@ -2163,6 +2163,8 @@ dnl Check for syscalls AC_CHECK_FUNCS([openat64 fstatat64 fgetxattr fsetxattr fremovexattr flistxattr unlinkat renameat futimesat fdopendir epoll_create epoll_ctl epoll_wait],, [AC_MSG_ERROR([Could not find required syscalls; check config.log and use --disable-compile-against-syscalls if necessary.])]) + AC_CHECK_HEADERS([sys/epoll.h attr/xattr.h], + , [AC_MSG_ERROR("Could not find required system headers; install the appropriate files or use --disable-compile-against-syscalls if necessary.")]) fi AM_CONDITIONAL(USE_SYSCALL_COMPILATION, test x"${ENABLE_SYSCALL_COMPILATION}" = "xyes") AC_SUBST(ENABLE_SYSCALL_COMPILATION)