summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-14 21:31:30 +0200
committerBruno Haible <bruno@clisp.org>2009-04-14 21:31:30 +0200
commit8fdb8486e14c433b2b277eb11c97e859b282e7d1 (patch)
tree48f1a24039698e2e36e450fa09de05976d374fb1
parent798d8094b74e8c4e50a65193bc96dd3f15fef173 (diff)
downloadgnulib-8fdb8486e14c433b2b277eb11c97e859b282e7d1.tar.gz
Tweak last commit.
-rw-r--r--ChangeLog5
-rw-r--r--m4/fcntl_h.m43
-rw-r--r--modules/fcntl1
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 400685be15..273b7f17f2 100644
--- 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.
diff --git a/m4/fcntl_h.m4 b/m4/fcntl_h.m4
index f2b09f3950..1ae0b15a97 100644
--- a/m4/fcntl_h.m4
+++ b/m4/fcntl_h.m4
@@ -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(
diff --git a/modules/fcntl b/modules/fcntl
index ccd26ed252..de0aeb988d 100644
--- a/modules/fcntl
+++ b/modules/fcntl
@@ -8,6 +8,7 @@ m4/fcntl_h.m4
Depends-on:
include_next
unistd
+extensions
configure.ac:
gl_FCNTL_H