summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/configure.ac
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-02-24 18:44:10 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-02-24 18:44:10 +0000
commitf4a2740a69d34b3ab0a7ecc7d4785b4b6b68e7cf (patch)
tree15362ca10a4d6846e15355e242db84a90e8e16d3 /sysdeps/unix/sysv/linux/configure.ac
parent5b4ecd3f95695ef593e4474b4ab5a117291ba5fc (diff)
downloadglibc-f4a2740a69d34b3ab0a7ecc7d4785b4b6b68e7cf.tar.gz
glibc-f4a2740a69d34b3ab0a7ecc7d4785b4b6b68e7cf.tar.xz
glibc-f4a2740a69d34b3ab0a7ecc7d4785b4b6b68e7cf.zip
Remove linux/fanotify.h configure test.
Now we require Linux 3.2 or later kernel headers everywhere, the
configure test for <linux/fanotify.h> 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure.ac')
-rw-r--r--sysdeps/unix/sysv/linux/configure.ac6
1 files changed, 0 insertions, 6 deletions
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