/hg/icedtea7: Check for headers required for syscalls.
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Mon Sep 26 17:48:13 PDT 2011
changeset cfd5af6eb76c in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=cfd5af6eb76c
author: Andrew John Hughes <ahughes at redhat.com>
date: Tue Sep 27 01:47:55 2011 +0100
Check for headers required for syscalls.
2011-09-27 Andrew John Hughes <ahughes at redhat.com>
* acinclude.m4: (IT_CHECK_FOR_SYSCALLS): Include
checks for required headers: sys/epoll.h and
attr/xattr.h.
diffstat:
ChangeLog | 7 +++++++
acinclude.m4 | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
diffs (26 lines):
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 <ahughes at redhat.com>
+
+ * acinclude.m4:
+ (IT_CHECK_FOR_SYSCALLS): Include checks
+ for required headers: sys/epoll.h and
+ attr/xattr.h.
+
2011-09-26 Xerxes RÃ¥nby <xerxes at zafena.se>
Mark David Dumlao <madumlao at gmail.com>
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)
More information about the distro-pkg-dev
mailing list