about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-31 11:36:54 -0500
committerMike Frysinger <vapier@gentoo.org>2014-01-04 08:34:01 -0500
commit20f4a8d9937b2a824a5d20583dd850070fe29988 (patch)
tree86b9ab5dc70b05c4626438241d472e450da50d35 /sysdeps/unix/sysv/linux/configure
parent22562bb222a91e0ecc416b19accd98e10c0d26be (diff)
downloadglibc-20f4a8d9937b2a824a5d20583dd850070fe29988.tar.gz
glibc-20f4a8d9937b2a824a5d20583dd850070fe29988.tar.xz
glibc-20f4a8d9937b2a824a5d20583dd850070fe29988.zip
tst-fanotify: switch to AC_DEFINE
Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure')
-rw-r--r--sysdeps/unix/sysv/linux/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index ab0f03c35e..d5ee4ef5d5 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -303,7 +303,8 @@ fi
 ac_fn_c_check_header_compile "$LINENO" "linux/fanotify.h" "ac_cv_header_linux_fanotify_h" "/* No default includes.  */
 "
 if test "x$ac_cv_header_linux_fanotify_h" = xyes; then :
-  DEFINES="$DEFINES -DHAVE_LINUX_FANOTIFY_H=1"
+  $as_echo "#define HAVE_LINUX_FANOTIFY_H 1" >>confdefs.h
+
 fi