From f4a2740a69d34b3ab0a7ecc7d4785b4b6b68e7cf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 24 Feb 2016 18:44:10 +0000 Subject: Remove linux/fanotify.h configure test. Now we require Linux 3.2 or later kernel headers everywhere, the configure test for is obsolete; this patch removes it. Tested for x86_64. * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not test for header. * sysdeps/unix/sysv/linux/configure: Regenerated. * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef. * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]: Remove conditional code. [HAVE_LINUX_FANOTIFY_H]: Make code unconditional. --- sysdeps/unix/sysv/linux/configure.ac | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sysdeps/unix/sysv/linux/configure.ac') diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac index b3e74bd2e2..13abda0a51 100644 --- a/sysdeps/unix/sysv/linux/configure.ac +++ b/sysdeps/unix/sysv/linux/configure.ac @@ -65,12 +65,6 @@ else *** compatible kernel version]) fi -# Until we start requiring 2.6.37+ headers, we need to check for the -# availability of linux/fanotify.h for testing purposes. -AC_CHECK_HEADER(linux/fanotify.h, - [AC_DEFINE(HAVE_LINUX_FANOTIFY_H)], , - [/* No default includes. */]) - if test -n "$sysheaders"; then CPPFLAGS=$OLD_CPPFLAGS fi -- cgit 1.4.1