From: Bruno Haible <bruno@clisp.org>
Date: Fri, 4 Nov 2011 17:11:03 +0000 (+0100)
Subject: openat, fchmodat, fchownat, linkat, renameat: Fix dependencies.
X-Git-Tag: v0.1~1499
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=630c05b0bf34b8feed301518d64a0b480f9d7a15;p=gnulib.git

openat, fchmodat, fchownat, linkat, renameat: Fix dependencies.

* modules/fchmodat (Depends-on): Add openat-die.
* modules/fchownat (Depends-on): Likewise.
* modules/linkat (Depends-on): Likewise.
* modules/renameat (Depends-on): Likewise.
* modules/openat (Depends-on): Add dirent.
---

diff --git a/ChangeLog b/ChangeLog
index 4cb125ff6d..7b018465ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-11-04  Bruno Haible  <bruno@clisp.org>
+
+	openat, fchmodat, fchownat, linkat, renameat: Fix dependencies.
+	* modules/fchmodat (Depends-on): Add openat-die.
+	* modules/fchownat (Depends-on): Likewise.
+	* modules/linkat (Depends-on): Likewise.
+	* modules/renameat (Depends-on): Likewise.
+	* modules/openat (Depends-on): Add dirent.
+
 2011-11-04  Jim Meyering  <meyering@redhat.com>
 
 	at-func*.c: fix comments
diff --git a/modules/fchmodat b/modules/fchmodat
index 92d061a7dc..7613549839 100644
--- a/modules/fchmodat
+++ b/modules/fchmodat
@@ -16,6 +16,7 @@ extensions
 fchdir
 fcntl-h
 openat
+openat-die
 save-cwd
 stdbool
 sys_stat
diff --git a/modules/fchownat b/modules/fchownat
index 59c398bede..7e0bf050e8 100644
--- a/modules/fchownat
+++ b/modules/fchownat
@@ -17,6 +17,7 @@ fchdir
 fcntl-h
 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
 openat
+openat-die
 save-cwd
 stdbool
 sys_stat
diff --git a/modules/linkat b/modules/linkat
index 3902e35f9e..0ec207ed59 100644
--- a/modules/linkat
+++ b/modules/linkat
@@ -20,6 +20,7 @@ fstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 fstatat          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 getcwd-lgpl      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 openat           [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+openat-die       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 link             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 link-follow      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 lstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
diff --git a/modules/openat b/modules/openat
index c051e71823..18544f08a2 100644
--- a/modules/openat
+++ b/modules/openat
@@ -11,6 +11,7 @@ m4/openat.m4
 m4/mode_t.m4
 
 Depends-on:
+dirent
 dosname
 errno
 extensions
diff --git a/modules/renameat b/modules/renameat
index 3d0d568aac..ddf2350060 100644
--- a/modules/renameat
+++ b/modules/renameat
@@ -15,6 +15,7 @@ filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 fstat            [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 getcwd-lgpl      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 openat           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+openat-die       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 rename           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 same-inode       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 save-cwd         [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]