Tweak last commit.
authorBruno Haible <bruno@clisp.org>
Tue, 14 Apr 2009 19:31:30 +0000 (21:31 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Apr 2009 19:31:30 +0000 (21:31 +0200)
ChangeLog
m4/fcntl_h.m4
modules/fcntl

index 400685b..273b7f1 100644 (file)
--- 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.
index f2b09f3..1ae0b15 100644 (file)
@@ -8,8 +8,9 @@ dnl Written by Paul Eggert.
 
 AC_DEFUN([gl_FCNTL_H],
 [
-  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
   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_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h],
     [AC_RUN_IFELSE(
        [AC_LANG_PROGRAM(
index ccd26ed..de0aeb9 100644 (file)
@@ -8,6 +8,7 @@ m4/fcntl_h.m4
 Depends-on:
 include_next
 unistd
+extensions
 
 configure.ac:
 gl_FCNTL_H