changeset 11482:5ff04014c57f

Tweak last commit.
author Bruno Haible <bruno@clisp.org>
date Tue, 14 Apr 2009 21:31:30 +0200
parents 9a794a99b730
children 7d870f00428c
files ChangeLog m4/fcntl_h.m4 modules/fcntl
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-14  Bruno Haible  <bruno@clisp.org>
+
+	* modules/fcntl (Depends-on): Add extensions.
+	* m4/fcntl_h.m4 (gl_FCNTL_H): Add a comment.
+
 2009-04-12  Ben Pfaff  <blp@gnu.org>
 
 	Make fcntl module detect O_NOATIME, O_NOFOLLOW on GNU/Linux.
--- a/m4/fcntl_h.m4
+++ b/m4/fcntl_h.m4
@@ -8,8 +8,9 @@
 
 AC_DEFUN([gl_FCNTL_H],
 [
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
+  dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW.
   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
-  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
   AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h],
     [AC_RUN_IFELSE(
        [AC_LANG_PROGRAM(
--- a/modules/fcntl
+++ b/modules/fcntl
@@ -8,6 +8,7 @@
 Depends-on:
 include_next
 unistd
+extensions
 
 configure.ac:
 gl_FCNTL_H