aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/openjdk-7-03b147/icedtea-m4-fix-xattr-include-path.patch
blob: 516401254a3c0886b680c6945d6757480fa93362 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2102,7 +2102,7 @@
     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_CHECK_HEADERS([sys/epoll.h sys/xattr.h],
       , [AC_MSG_ERROR([Could not find required system headers; install the appropriate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-dev or use --disable-compile-against-syscalls if necessary.])])
   fi
   AM_CONDITIONAL(USE_SYSCALL_COMPILATION, test x"${ENABLE_SYSCALL_COMPILATION}" = "xyes")