]> Savannah Git Hosting - gnulib.git/commitdiff
More conditional dependencies.
authorBruno Haible <bruno@clisp.org>
Wed, 9 Nov 2011 01:42:45 +0000 (02:42 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 9 Nov 2011 01:44:53 +0000 (02:44 +0100)
* modules/faccessat (Depends-on): Add conditions.
* modules/fchmodat (Depends-on): Likewise.
* modules/fchownat (Depends-on): Likewise.
* modules/fstatat (Depends-on): Likewise.
* modules/mkfifoat (Depends-on): Likewise.
* modules/readlinkat (Depends-on): Likewise.
* modules/symlinkat (Depends-on): Likewise.
* modules/unlinkat (Depends-on): Likewise.
* modules/utimensat (Depends-on): Likewise.
* modules/mkdirat (Depends-on): Add sys_stat. Add conditions.
* modules/linkat (Depends-on): Refine the conditions.
* modules/renameat (Depends-on): Likewise.

13 files changed:
ChangeLog
modules/faccessat
modules/fchmodat
modules/fchownat
modules/fstatat
modules/linkat
modules/mkdirat
modules/mkfifoat
modules/readlinkat
modules/renameat
modules/symlinkat
modules/unlinkat
modules/utimensat

index 48b51c703ce3b54894993a4eef218851afd9df5b..2e1f6bef5d51dff91f73a83741692c71d5cc7f28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2011-11-08  Bruno Haible  <bruno@clisp.org>
+
+       More conditional dependencies.
+       * modules/faccessat (Depends-on): Add conditions.
+       * modules/fchmodat (Depends-on): Likewise.
+       * modules/fchownat (Depends-on): Likewise.
+       * modules/fstatat (Depends-on): Likewise.
+       * modules/mkfifoat (Depends-on): Likewise.
+       * modules/readlinkat (Depends-on): Likewise.
+       * modules/symlinkat (Depends-on): Likewise.
+       * modules/unlinkat (Depends-on): Likewise.
+       * modules/utimensat (Depends-on): Likewise.
+       * modules/mkdirat (Depends-on): Add sys_stat. Add conditions.
+       * modules/linkat (Depends-on): Refine the conditions.
+       * modules/renameat (Depends-on): Likewise.
+
 2011-11-08  Bruno Haible  <bruno@clisp.org>
 
        faccessat: Move AC_LIBOBJ invocation to module description.
index e73f5caa3962aef01fb6fc410437b8d6bc720c88..afdf080ab78d938688098489a280887707b60243 100644 (file)
@@ -8,15 +8,15 @@ lib/openat-priv.h
 m4/faccessat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 unistd
+extensions
+at-internal     [test $HAVE_FACCESSAT = 0]
+dosname         [test $HAVE_FACCESSAT = 0]
+errno           [test $HAVE_FACCESSAT = 0]
+fchdir          [test $HAVE_FACCESSAT = 0]
+openat-die      [test $HAVE_FACCESSAT = 0]
+openat-h        [test $HAVE_FACCESSAT = 0]
+save-cwd        [test $HAVE_FACCESSAT = 0]
 euidaccess      [test $HAVE_FACCESSAT = 0]
 
 configure.ac:
index 67881c6318802a55f19d18aa793246c875849047..6f5472d9879f075fdfde10bd35e02a70f7f6d377 100644 (file)
@@ -8,15 +8,15 @@ lib/openat-priv.h
 m4/fchmodat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 sys_stat
+extensions
+at-internal     [test $HAVE_FCHMODAT = 0]
+dosname         [test $HAVE_FCHMODAT = 0]
+errno           [test $HAVE_FCHMODAT = 0]
+fchdir          [test $HAVE_FCHMODAT = 0]
+openat-die      [test $HAVE_FCHMODAT = 0]
+openat-h        [test $HAVE_FCHMODAT = 0]
+save-cwd        [test $HAVE_FCHMODAT = 0]
 
 configure.ac:
 gl_FUNC_FCHMODAT
index 97a84e48cfed7a02b8a1443aae725d4955c9b5d0..b7ec6a60a954f39c032f90e084aad702dd257b99 100644 (file)
@@ -8,17 +8,17 @@ lib/openat-priv.h
 m4/fchownat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
+unistd
 extensions
-fchdir
-fstatat
+at-internal     [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+dosname         [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+errno           [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+fchdir          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
-openat-die
-openat-h
-save-cwd
-unistd
+openat-die      [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+openat-h        [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+save-cwd        [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+fstatat         [test $REPLACE_FCHOWNAT = 1]
 
 configure.ac:
 gl_FUNC_FCHOWNAT
index 56ad8a59cf2508a25e5c643eadd892af2d147de8..7a6123aff43e82dc7541338ddbf2e1825ad9e38c 100644 (file)
@@ -8,17 +8,17 @@ lib/openat-priv.h
 m4/fstatat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-fcntl-h
-lstat
-openat-die
-openat-h
-save-cwd
 sys_stat
+extensions
+at-internal     [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+dosname         [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+errno           [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+fchdir          [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+fcntl-h         [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+lstat           [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+openat-die      [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+openat-h        [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+save-cwd        [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
 
 configure.ac:
 gl_FUNC_FSTATAT
index 3b6559d6bf6502101a7c61b276fec170bbb3ffcb..f31dcf70c524901e2226cc1ddfc09636287a9ab7 100644 (file)
@@ -9,25 +9,25 @@ m4/linkat.m4
 Depends-on:
 unistd
 extensions
-areadlink        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-areadlinkat      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-at-internal      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 dirname-lgpl     [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-dosname          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 errno            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 fcntl-h          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-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-h         [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]
-same-inode       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-save-cwd         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-symlink          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+areadlink        [test $HAVE_LINKAT = 0]
+at-internal      [test $HAVE_LINKAT = 0]
+dosname          [test $HAVE_LINKAT = 0]
+fstat            [test $HAVE_LINKAT = 0]
+getcwd-lgpl      [test $HAVE_LINKAT = 0]
+openat-h         [test $HAVE_LINKAT = 0]
+openat-die       [test $HAVE_LINKAT = 0]
+link             [test $HAVE_LINKAT = 0]
+lstat            [test $HAVE_LINKAT = 0]
+same-inode       [test $HAVE_LINKAT = 0]
+save-cwd         [test $HAVE_LINKAT = 0]
+symlink          [test $HAVE_LINKAT = 0]
+areadlinkat      [test $REPLACE_LINKAT = 1]
+fstatat          [test $REPLACE_LINKAT = 1]
 
 configure.ac:
 gl_FUNC_LINKAT
index f3b85113319156559b31e8a60c1b7426ed3e0242..f6c7411eb880c671199686b16e25d1f62e7fa9ff 100644 (file)
@@ -8,16 +8,17 @@ lib/openat-priv.h
 m4/mkdirat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
+sys_stat
 extensions
-fchdir
+at-internal     [test $HAVE_MKDIRAT = 0]
+dosname         [test $HAVE_MKDIRAT = 0]
+errno           [test $HAVE_MKDIRAT = 0]
+fchdir          [test $HAVE_MKDIRAT = 0]
 mkdir           [test $HAVE_MKDIRAT = 0]
-openat-die
-openat-h
-save-cwd
-unistd
+openat-die      [test $HAVE_MKDIRAT = 0]
+openat-h        [test $HAVE_MKDIRAT = 0]
+save-cwd        [test $HAVE_MKDIRAT = 0]
+unistd          [test $HAVE_MKDIRAT = 0]
 
 configure.ac:
 gl_FUNC_MKDIRAT
index e4ba51463d65a62ded4dc143f666dd762eb175d0..c41f436c7983187c38528c572430c2b9f31bfaed 100644 (file)
@@ -8,15 +8,15 @@ lib/at-func.c
 m4/mkfifoat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 sys_stat
+extensions
+at-internal     [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+dosname         [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+errno           [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+fchdir          [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+openat-die      [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+openat-h        [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+save-cwd        [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
 mkfifo          [test $HAVE_MKFIFOAT = 0]
 mknod           [test $HAVE_MKNODAT = 0]
 
index 3bf67110b81497ea7d8f642613430695ce33b471..17a171b8f3e35a0ea9a423bc175071364238860b 100644 (file)
@@ -7,15 +7,15 @@ lib/at-func.c
 m4/readlinkat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 unistd
+extensions
+at-internal     [test $HAVE_READLINKAT = 0]
+dosname         [test $HAVE_READLINKAT = 0]
+errno           [test $HAVE_READLINKAT = 0]
+fchdir          [test $HAVE_READLINKAT = 0]
+openat-die      [test $HAVE_READLINKAT = 0]
+openat-h        [test $HAVE_READLINKAT = 0]
+save-cwd        [test $HAVE_READLINKAT = 0]
 readlink        [test $HAVE_READLINKAT = 0]
 
 configure.ac:
index d7a30dc2c816730bedd920a8cc83523c540d6f78..ca03f9aa1dbc2191e31e0a47c6acadfc68972eb7 100644 (file)
@@ -10,18 +10,18 @@ Depends-on:
 stdio
 extensions
 fcntl-h
-at-internal      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-dosname          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-fstat            [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-fstatat          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-getcwd-lgpl      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
-openat-die       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 openat-h         [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]
-stdbool          [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+fstatat          [test $REPLACE_RENAMEAT = 1]
+stdbool          [test $REPLACE_RENAMEAT = 1]
+at-internal      [test $HAVE_RENAMEAT = 0]
+dosname          [test $HAVE_RENAMEAT = 0]
+fstat            [test $HAVE_RENAMEAT = 0]
+getcwd-lgpl      [test $HAVE_RENAMEAT = 0]
+openat-die       [test $HAVE_RENAMEAT = 0]
+rename           [test $HAVE_RENAMEAT = 0]
+same-inode       [test $HAVE_RENAMEAT = 0]
+save-cwd         [test $HAVE_RENAMEAT = 0]
 
 configure.ac:
 gl_FUNC_RENAMEAT
index 93bded1d889e4f591cbf6f044dac9039f95d41da..0fdf41c5512463448d5c3622496a631a7efef022 100644 (file)
@@ -7,15 +7,15 @@ lib/at-func.c
 m4/symlinkat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-openat-die
-openat-h
-save-cwd
 unistd
+extensions
+at-internal     [test $HAVE_SYMLINKAT = 0]
+dosname         [test $HAVE_SYMLINKAT = 0]
+errno           [test $HAVE_SYMLINKAT = 0]
+fchdir          [test $HAVE_SYMLINKAT = 0]
+openat-die      [test $HAVE_SYMLINKAT = 0]
+openat-h        [test $HAVE_SYMLINKAT = 0]
+save-cwd        [test $HAVE_SYMLINKAT = 0]
 symlink         [test $HAVE_SYMLINKAT = 0]
 
 configure.ac:
index 7ab422ec87738da77185ae85bfdb06b9c2943a2a..9a607577006529dc77113a15b305bd55841c9167 100644 (file)
@@ -8,19 +8,19 @@ lib/openat-priv.h
 m4/unlinkat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
+unistd
 extensions
-fchdir
-fcntl-h
-fstatat
-openat-die
-openat-h
+fcntl-h         [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
+openat-h        [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
+sys_stat        [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
+fstatat         [test $REPLACE_UNLINKAT = 1]
+at-internal     [test $HAVE_UNLINKAT = 0]
+dosname         [test $HAVE_UNLINKAT = 0]
+errno           [test $HAVE_UNLINKAT = 0]
+fchdir          [test $HAVE_UNLINKAT = 0]
+openat-die      [test $HAVE_UNLINKAT = 0]
 rmdir           [test $HAVE_UNLINKAT = 0]
-save-cwd
-sys_stat
-unistd
+save-cwd        [test $HAVE_UNLINKAT = 0]
 unlink          [test $HAVE_UNLINKAT = 0]
 
 configure.ac:
index 1839d435e5e0e3d27e73c34d606d2cb50cbbeea2..a9059096082ee07e88eae1e9c1ab43c80ed7551b 100644 (file)
@@ -7,18 +7,18 @@ lib/at-func.c
 m4/utimensat.m4
 
 Depends-on:
-at-internal
-dosname
-errno
-extensions
-fchdir
-fcntl-h
-openat-die
-openat-h
-save-cwd
 sys_stat
-fstatat         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+extensions
+at-internal     [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+dosname         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+errno           [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+fchdir          [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+fcntl-h         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+openat-die      [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+openat-h        [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+save-cwd        [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
 utimens         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+fstatat         [test $REPLACE_UTIMENSAT = 1]
 
 configure.ac:
 gl_FUNC_UTIMENSAT