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 400685be15accaecce7799c5e502e0f4b309b566..273b7f17f273c18e44f2f806499d3d56c96532ad 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 f2b09f3950dd7f31774afd9ee73a742615b6d259..1ae0b15a97e7e4c7a736e74e1f7a70777979a2e4 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 ccd26ed252bf3ee4450cd3bc1b929d52a717e371..de0aeb988d3769c82d7688f070078b2404243cf9 100644 (file)
@@ -8,6 +8,7 @@ m4/fcntl_h.m4
 Depends-on:
 include_next
 unistd
+extensions
 
 configure.ac:
 gl_FCNTL_H