This one affects many modules, so I haven't pushed it yet. The basic idea is that code that uses 'stat (...)' etc. should always use AC_SYS_LARGEFILE, so that it doesn't mess up with large files. Plus, the code should use the up-to-date AC_SYS_LARGEFILE.
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Do not require AC_SYS_LARGEFILE, since the containing module now depends on the largefile module. * modules/acl, modules/canonicalize, modules/canonicalize-lgpl: * modules/chdir-safer, modules/chown, modules/copy-file: * modules/euidaccess, modules/fchdir, modules/fdopendir: * modules/fflush, modules/fileblocks, modules/fopen, modules/fseeko: * modules/fsusage, modules/ftello, modules/ftruncate, modules/fts: * modules/getcwd, modules/glob, modules/isapipe, modules/isdir: * modules/javacomp, modules/lchown, modules/link, modules/linkat: * modules/lseek, modules/lstat, modules/mkdir, modules/mkdir-p: * modules/mkfifo, modules/mknod, modules/mkstemp, modules/modechange: * modules/mountlist, modules/open, modules/openat, modules/pread: * modules/pt_chown, modules/ptsname, modules/pwrite, modules/read-file: * modules/readlink, modules/relocatable-prog: * modules/relocatable-prog-wrapper, modules/rename, modules/renameat: * modules/same, modules/stat, modules/symlink, modules/tempname: * modules/tmpdir, modules/unlink, modules/utimecmp, modules/utimens: Depend on largefile as needed. --- ChangeLog | 24 ++++++++++++++++++++++++ m4/mkstemp.m4 | 3 +-- m4/tempname.m4 | 4 +--- modules/acl | 1 + modules/canonicalize | 1 + modules/canonicalize-lgpl | 1 + modules/chdir-safer | 1 + modules/chown | 1 + modules/copy-file | 1 + modules/euidaccess | 1 + modules/fchdir | 1 + modules/fdopendir | 1 + modules/fflush | 1 + modules/fileblocks | 2 +- modules/fopen | 2 +- modules/fseeko | 2 +- modules/fsusage | 1 + modules/ftello | 2 +- modules/ftruncate | 1 + modules/fts | 1 + modules/getcwd | 1 + modules/glob | 1 + modules/isapipe | 1 + modules/isdir | 1 + modules/javacomp | 2 +- modules/lchown | 1 + modules/link | 1 + modules/linkat | 1 + modules/lseek | 1 + modules/lstat | 1 + modules/mkdir | 1 + modules/mkdir-p | 1 + modules/mkfifo | 1 + modules/mknod | 1 + modules/mkstemp | 1 + modules/modechange | 1 + modules/mountlist | 1 + modules/open | 2 +- modules/openat | 1 + modules/pread | 1 + modules/pt_chown | 1 + modules/ptsname | 1 + modules/pwrite | 1 + modules/read-file | 1 + modules/readlink | 2 +- modules/relocatable-prog | 2 +- modules/relocatable-prog-wrapper | 2 +- modules/rename | 1 + modules/renameat | 1 + modules/same | 1 + modules/stat | 1 + modules/symlink | 1 + modules/tempname | 1 + modules/tmpdir | 2 +- modules/unlink | 1 + modules/utimecmp | 1 + modules/utimens | 1 + 57 files changed, 80 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53a5121..2bb1470 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2011-07-24 Paul Eggert <egg...@cs.ucla.edu> + + largefile: add dependencies to this module + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): + * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): + Do not require AC_SYS_LARGEFILE, since the containing module now + depends on the largefile module. + * modules/acl, modules/canonicalize, modules/canonicalize-lgpl: + * modules/chdir-safer, modules/chown, modules/copy-file: + * modules/euidaccess, modules/fchdir, modules/fdopendir: + * modules/fflush, modules/fileblocks, modules/fopen, modules/fseeko: + * modules/fsusage, modules/ftello, modules/ftruncate, modules/fts: + * modules/getcwd, modules/glob, modules/isapipe, modules/isdir: + * modules/javacomp, modules/lchown, modules/link, modules/linkat: + * modules/lseek, modules/lstat, modules/mkdir, modules/mkdir-p: + * modules/mkfifo, modules/mknod, modules/mkstemp, modules/modechange: + * modules/mountlist, modules/open, modules/openat, modules/pread: + * modules/pt_chown, modules/ptsname, modules/pwrite, modules/read-file: + * modules/readlink, modules/relocatable-prog: + * modules/relocatable-prog-wrapper, modules/rename, modules/renameat: + * modules/same, modules/stat, modules/symlink, modules/tempname: + * modules/tmpdir, modules/unlink, modules/utimecmp, modules/utimens: + Depend on largefile as needed. + 2011-07-22 Bruno Haible <br...@clisp.org> select tests, pselect tests: Refactor. diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4 index 0bc918c..ef3c689 100644 --- a/m4/mkstemp.m4 +++ b/m4/mkstemp.m4 @@ -1,4 +1,4 @@ -#serial 21 +#serial 22 # Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -16,7 +16,6 @@ AC_DEFUN([gl_FUNC_MKSTEMP], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) - AC_REQUIRE([AC_SYS_LARGEFILE]) AC_CHECK_FUNCS_ONCE([mkstemp]) if test $ac_cv_func_mkstemp = yes; then diff --git a/m4/tempname.m4 b/m4/tempname.m4 index 633b671..5b726a6 100644 --- a/m4/tempname.m4 +++ b/m4/tempname.m4 @@ -1,4 +1,4 @@ -#serial 4 +#serial 5 # Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -9,8 +9,6 @@ # it as a public API, and provide it on systems that are lacking. AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [ - AC_REQUIRE([AC_SYS_LARGEFILE]) - gl_PREREQ_TEMPNAME ]) diff --git a/modules/acl b/modules/acl index f5913c2..64a7fec 100644 --- a/modules/acl +++ b/modules/acl @@ -13,6 +13,7 @@ m4/acl.m4 Depends-on: error gettext-h +largefile quote sys_stat diff --git a/modules/canonicalize b/modules/canonicalize index bf3dc57..35c370e 100644 --- a/modules/canonicalize +++ b/modules/canonicalize @@ -13,6 +13,7 @@ errno extensions file-set hash-triple +largefile lstat memmove nocrash diff --git a/modules/canonicalize-lgpl b/modules/canonicalize-lgpl index 7b77ac4..e271d92 100644 --- a/modules/canonicalize-lgpl +++ b/modules/canonicalize-lgpl @@ -12,6 +12,7 @@ stdlib nocrash alloca-opt [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] errno [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +largefile [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] lstat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] malloca [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] memmove [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] diff --git a/modules/chdir-safer b/modules/chdir-safer index 095a408..72dce34 100644 --- a/modules/chdir-safer +++ b/modules/chdir-safer @@ -10,6 +10,7 @@ Depends-on: errno fchdir fcntl-h +largefile open same-inode stdbool diff --git a/modules/chown b/modules/chown index 1c271f0..8a1b00b 100644 --- a/modules/chown +++ b/modules/chown @@ -9,6 +9,7 @@ m4/chown.m4 Depends-on: unistd open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +largefile [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] stdbool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] sys_stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] diff --git a/modules/copy-file b/modules/copy-file index 4ca553e..2eca7e4 100644 --- a/modules/copy-file +++ b/modules/copy-file @@ -12,6 +12,7 @@ binary-io error full-write gettext-h +largefile open safe-read stdlib diff --git a/modules/euidaccess b/modules/euidaccess index a339e45..5355256 100644 --- a/modules/euidaccess +++ b/modules/euidaccess @@ -9,6 +9,7 @@ Depends-on: unistd extensions group-member [test $HAVE_EUIDACCESS = 0] +largefile [test $HAVE_EUIDACCESS = 0] stat [test $HAVE_EUIDACCESS = 0] sys_stat [test $HAVE_EUIDACCESS = 0] diff --git a/modules/fchdir b/modules/fchdir index 7b7cb04..0946bae 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -16,6 +16,7 @@ fcntl [test $HAVE_FCHDIR = 0] fcntl-h [test $HAVE_FCHDIR = 0] filenamecat-lgpl [test $HAVE_FCHDIR = 0] getcwd-lgpl [test $HAVE_FCHDIR = 0] +largefile [test $HAVE_FCHDIR = 0] malloc-posix [test $HAVE_FCHDIR = 0] open [test $HAVE_FCHDIR = 0] realloc-posix [test $HAVE_FCHDIR = 0] diff --git a/modules/fdopendir b/modules/fdopendir index a1c2519..2a26bc4 100644 --- a/modules/fdopendir +++ b/modules/fdopendir @@ -12,6 +12,7 @@ dirent extensions errno [test $HAVE_FDOPENDIR = 0] fchdir [test $HAVE_FDOPENDIR = 0] +largefile [test $REPLACE_FDOPENDIR = 1] openat-die [test $HAVE_FDOPENDIR = 0] save-cwd [test $HAVE_FDOPENDIR = 0] diff --git a/modules/fflush b/modules/fflush index 16bdbb5..a5fc20e 100644 --- a/modules/fflush +++ b/modules/fflush @@ -11,6 +11,7 @@ stdio fpurge [test $REPLACE_FFLUSH = 1] ftello [test $REPLACE_FFLUSH = 1] freading [test $REPLACE_FFLUSH = 1] +largefile [test $REPLACE_FFLUSH = 1] lseek [test $REPLACE_FFLUSH = 1] unistd [test $REPLACE_FFLUSH = 1] fseeko [test $REPLACE_FFLUSH = 1] diff --git a/modules/fileblocks b/modules/fileblocks index 2deff81..7e6bc0d 100644 --- a/modules/fileblocks +++ b/modules/fileblocks @@ -6,6 +6,7 @@ lib/fileblocks.c m4/fileblocks.m4 Depends-on: +largefile configure.ac: gl_FILEBLOCKS @@ -23,4 +24,3 @@ GPL Maintainer: Jim Meyering - diff --git a/modules/fopen b/modules/fopen index 13799e9..40d7f12 100644 --- a/modules/fopen +++ b/modules/fopen @@ -7,6 +7,7 @@ m4/fopen.m4 Depends-on: stdio +largefile [test $REPLACE_FOPEN = 1] unistd [test $REPLACE_FOPEN = 1] configure.ac: @@ -27,4 +28,3 @@ LGPLv2+ Maintainer: Bruno Haible - diff --git a/modules/fseeko b/modules/fseeko index 07f78e5..4cd3c2c 100644 --- a/modules/fseeko +++ b/modules/fseeko @@ -8,6 +8,7 @@ m4/fseeko.m4 Depends-on: extensions +largefile lseek stdio # Just to guarantee consistency between fseek() and fseeko(). @@ -33,4 +34,3 @@ LGPLv2+ Maintainer: Bruno Haible - diff --git a/modules/fsusage b/modules/fsusage index 33d956f..b447525 100644 --- a/modules/fsusage +++ b/modules/fsusage @@ -7,6 +7,7 @@ lib/fsusage.c m4/fsusage.m4 Depends-on: +largefile stdbool stdint full-read [test $gl_cv_fs_space = yes] diff --git a/modules/ftello b/modules/ftello index 73aa811..486cbee 100644 --- a/modules/ftello +++ b/modules/ftello @@ -10,6 +10,7 @@ m4/ftello.m4 Depends-on: stdio extensions +largefile lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] # Just to guarantee consistency between ftell() and ftello(). ftell @@ -34,4 +35,3 @@ LGPLv2+ Maintainer: Bruno Haible - diff --git a/modules/ftruncate b/modules/ftruncate index 6be248c..c0f77b6 100644 --- a/modules/ftruncate +++ b/modules/ftruncate @@ -12,6 +12,7 @@ lib/ftruncate.c m4/ftruncate.m4 Depends-on: +largefile unistd configure.ac: diff --git a/modules/fts b/modules/fts index d57b10c..86a7ed4 100644 --- a/modules/fts +++ b/modules/fts @@ -18,6 +18,7 @@ fcntl-h fcntl-safer hash i-ring +largefile lstat memmove openat-safer diff --git a/modules/getcwd b/modules/getcwd index 6b764d2..ee8dfd4 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -10,6 +10,7 @@ m4/getcwd.m4 Depends-on: unistd extensions +largefile [test $REPLACE_GETCWD = 1] mempcpy [test $REPLACE_GETCWD = 1] d-ino [test $REPLACE_GETCWD = 1] memmove [test $REPLACE_GETCWD = 1] diff --git a/modules/glob b/modules/glob index 5a8b4ae..8ffebce 100644 --- a/modules/glob +++ b/modules/glob @@ -18,6 +18,7 @@ d-type [test -n "$GLOB_H"] dirfd [test -n "$GLOB_H"] fnmatch [test -n "$GLOB_H"] getlogin_r [test -n "$GLOB_H"] +largefile [test -n "$GLOB_H"] memchr [test -n "$GLOB_H"] mempcpy [test -n "$GLOB_H"] stdbool [test -n "$GLOB_H"] diff --git a/modules/isapipe b/modules/isapipe index cc62ea8..446ac10 100644 --- a/modules/isapipe +++ b/modules/isapipe @@ -7,6 +7,7 @@ lib/isapipe.h m4/isapipe.m4 Depends-on: +largefile [test $HAVE_ISAPIPE = 0] stdbool [test $HAVE_ISAPIPE = 0] sys_stat [test $HAVE_ISAPIPE = 0] unistd [test $HAVE_ISAPIPE = 0] diff --git a/modules/isdir b/modules/isdir index aab5f84..911c4e8 100644 --- a/modules/isdir +++ b/modules/isdir @@ -6,6 +6,7 @@ lib/isdir.c lib/isdir.h Depends-on: +largefile stat configure.ac: diff --git a/modules/javacomp b/modules/javacomp index 6cb6845..1913eda 100644 --- a/modules/javacomp +++ b/modules/javacomp @@ -28,6 +28,7 @@ xvasprintf c-strstr gettext-h javacomp-script +largefile configure.ac: @@ -42,4 +43,3 @@ GPL Maintainer: Bruno Haible - diff --git a/modules/lchown b/modules/lchown index 1ddecca..a1f0b94 100644 --- a/modules/lchown +++ b/modules/lchown @@ -9,6 +9,7 @@ Depends-on: unistd chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] errno [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +largefile [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] lstat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] diff --git a/modules/link b/modules/link index 5ea0ac2..d77e258 100644 --- a/modules/link +++ b/modules/link @@ -7,6 +7,7 @@ m4/link.m4 Depends-on: unistd +largefile [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] stat [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] strdup-posix [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] sys_stat [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] diff --git a/modules/linkat b/modules/linkat index 3392e57..3b9b3f4 100644 --- a/modules/linkat +++ b/modules/linkat @@ -17,6 +17,7 @@ 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] getcwd-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +largefile [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] openat [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] diff --git a/modules/lseek b/modules/lseek index 5b4a267..16d6070 100644 --- a/modules/lseek +++ b/modules/lseek @@ -6,6 +6,7 @@ lib/lseek.c m4/lseek.m4 Depends-on: +largefile unistd configure.ac: diff --git a/modules/lstat b/modules/lstat index dbe7e11..7953eef 100644 --- a/modules/lstat +++ b/modules/lstat @@ -8,6 +8,7 @@ m4/lstat.m4 Depends-on: sys_stat dosname [test $REPLACE_LSTAT = 1] +largefile [test $REPLACE_LSTAT = 1] stat [test $REPLACE_LSTAT = 1] configure.ac: diff --git a/modules/mkdir b/modules/mkdir index 032f1c5..cf16fec 100644 --- a/modules/mkdir +++ b/modules/mkdir @@ -8,6 +8,7 @@ m4/mkdir.m4 Depends-on: sys_stat dirname-lgpl [test $REPLACE_MKDIR = 1] +largefile [test $REPLACE_MKDIR = 1] configure.ac: gl_FUNC_MKDIR diff --git a/modules/mkdir-p b/modules/mkdir-p index 562c1e2..55f7067 100644 --- a/modules/mkdir-p +++ b/modules/mkdir-p @@ -12,6 +12,7 @@ Depends-on: error fcntl-h gettext-h +largefile lchmod lchown mkancesdirs diff --git a/modules/mkfifo b/modules/mkfifo index 7bf43b4..db22417 100644 --- a/modules/mkfifo +++ b/modules/mkfifo @@ -7,6 +7,7 @@ m4/mkfifo.m4 Depends-on: sys_stat +largefile [test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1] stat [test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1] configure.ac: diff --git a/modules/mknod b/modules/mknod index 1f647ef..e7acbf3 100644 --- a/modules/mknod +++ b/modules/mknod @@ -8,6 +8,7 @@ m4/mknod.m4 Depends-on: sys_stat extensions +largefile [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1] mkfifo [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1] stat [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1] diff --git a/modules/mkstemp b/modules/mkstemp index 9ac5b3f..780908f 100644 --- a/modules/mkstemp +++ b/modules/mkstemp @@ -8,6 +8,7 @@ m4/mkstemp.m4 Depends-on: stdlib extensions +largefile tempname [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1] configure.ac: diff --git a/modules/modechange b/modules/modechange index b5b86a4..b4af7f4 100644 --- a/modules/modechange +++ b/modules/modechange @@ -8,6 +8,7 @@ lib/modechange.c m4/modechange.m4 Depends-on: +largefile stat stat-macros stdbool diff --git a/modules/mountlist b/modules/mountlist index 1e7d22a..9139e8a 100644 --- a/modules/mountlist +++ b/modules/mountlist @@ -9,6 +9,7 @@ m4/fstypename.m4 m4/mountlist.m4 Depends-on: +largefile stdbool stdint strstr-simple diff --git a/modules/open b/modules/open index ea0f5ae..1787812 100644 --- a/modules/open +++ b/modules/open @@ -8,6 +8,7 @@ m4/mode_t.m4 Depends-on: fcntl-h +largefile [test $REPLACE_OPEN = 1] stat [test $REPLACE_OPEN = 1] configure.ac: @@ -24,4 +25,3 @@ LGPLv2+ Maintainer: Bruno Haible - diff --git a/modules/openat b/modules/openat index b9ce4d4..5b32d85 100644 --- a/modules/openat +++ b/modules/openat @@ -24,6 +24,7 @@ fcntl-h fdopendir gettext-h intprops +largefile lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] lstat mkdir [test $HAVE_MKDIRAT = 0] diff --git a/modules/pread b/modules/pread index 537563a..82ac685 100644 --- a/modules/pread +++ b/modules/pread @@ -8,6 +8,7 @@ m4/pread.m4 Depends-on: unistd extensions +largefile [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] lseek [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] read [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] diff --git a/modules/pt_chown b/modules/pt_chown index 0002ab7..719b4dd 100644 --- a/modules/pt_chown +++ b/modules/pt_chown @@ -6,6 +6,7 @@ lib/pt_chown.c lib/pty-private.h Depends-on: +largefile ptsname stdlib diff --git a/modules/ptsname b/modules/ptsname index 985b79b..0f9dbdf 100644 --- a/modules/ptsname +++ b/modules/ptsname @@ -8,6 +8,7 @@ m4/ptsname.m4 Depends-on: stdlib extensions +largefile [test $HAVE_PTSNAME = 0] ttyname_r [test $HAVE_PTSNAME = 0] configure.ac: diff --git a/modules/pwrite b/modules/pwrite index aadce1e..78843d4 100644 --- a/modules/pwrite +++ b/modules/pwrite @@ -8,6 +8,7 @@ m4/pwrite.m4 Depends-on: unistd extensions +largefile lseek [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] write [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] diff --git a/modules/read-file b/modules/read-file index 0f380ca..ff7a75d 100644 --- a/modules/read-file +++ b/modules/read-file @@ -8,6 +8,7 @@ m4/read-file.m4 Depends-on: ftello +largefile malloc-posix realloc-posix stdint diff --git a/modules/readlink b/modules/readlink index 431e201..82a8b90 100644 --- a/modules/readlink +++ b/modules/readlink @@ -7,6 +7,7 @@ m4/readlink.m4 Depends-on: unistd +largefile [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1] stat [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1] configure.ac: @@ -27,4 +28,3 @@ LGPLv2+ Maintainer: Bruno Haible - diff --git a/modules/relocatable-prog b/modules/relocatable-prog index a7f50ac..47eeccc 100644 --- a/modules/relocatable-prog +++ b/modules/relocatable-prog @@ -23,6 +23,7 @@ stdbool unistd memcmp strdup +largefile configure.ac: gl_RELOCATABLE([$gl_source_base]) @@ -56,4 +57,3 @@ GPL Maintainer: Bruno Haible, Ben Pfaff - diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper index 8ff11d4..469e885 100644 --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -36,6 +36,7 @@ Depends-on: alloca-opt double-slash-root errno +largefile pathmax ssize_t stdbool @@ -62,4 +63,3 @@ GPL Maintainer: Bruno Haible, Ben Pfaff - diff --git a/modules/rename b/modules/rename index 52ca382..30568db 100644 --- a/modules/rename +++ b/modules/rename @@ -9,6 +9,7 @@ Depends-on: stdio canonicalize-lgpl [test $REPLACE_RENAME = 1] dirname-lgpl [test $REPLACE_RENAME = 1] +largefile [test $REPLACE_RENAME = 1] lstat [test $REPLACE_RENAME = 1] rmdir [test $REPLACE_RENAME = 1] same-inode [test $REPLACE_RENAME = 1] diff --git a/modules/renameat b/modules/renameat index 6e1012a..bca815d 100644 --- a/modules/renameat +++ b/modules/renameat @@ -13,6 +13,7 @@ fcntl-h dosname [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] getcwd-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] +largefile [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] openat [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] diff --git a/modules/same b/modules/same index 6401dfb..6fe54f8 100644 --- a/modules/same +++ b/modules/same @@ -10,6 +10,7 @@ m4/same.m4 Depends-on: error dirname +largefile same-inode stat stdbool diff --git a/modules/stat b/modules/stat index 8a349a7..3721eff 100644 --- a/modules/stat +++ b/modules/stat @@ -8,6 +8,7 @@ m4/stat.m4 Depends-on: sys_stat dosname [test $REPLACE_STAT = 1] +largefile [test $REPLACE_STAT = 1] stdbool [test $REPLACE_STAT = 1] verify [test $REPLACE_STAT = 1] diff --git a/modules/symlink b/modules/symlink index f6f1db2..16830f2 100644 --- a/modules/symlink +++ b/modules/symlink @@ -7,6 +7,7 @@ m4/symlink.m4 Depends-on: unistd +largefile [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1] lstat [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1] configure.ac: diff --git a/modules/tempname b/modules/tempname index 8bb8e83..ffdbe73 100644 --- a/modules/tempname +++ b/modules/tempname @@ -9,6 +9,7 @@ m4/tempname.m4 Depends-on: extensions gettimeofday +largefile lstat stdint sys_stat diff --git a/modules/tmpdir b/modules/tmpdir index a42fdc4..ecc3f27 100644 --- a/modules/tmpdir +++ b/modules/tmpdir @@ -7,6 +7,7 @@ lib/tmpdir.c m4/tmpdir.m4 Depends-on: +largefile stdbool sys_stat @@ -24,4 +25,3 @@ LGPL Maintainer: Bruno Haible - diff --git a/modules/unlink b/modules/unlink index 63720aa..b5858a3 100644 --- a/modules/unlink +++ b/modules/unlink @@ -8,6 +8,7 @@ m4/unlink.m4 Depends-on: unistd dosname [test $REPLACE_UNLINK = 1] +largefile [test $REPLACE_UNLINK = 1] lstat [test $REPLACE_UNLINK = 1] configure.ac: diff --git a/modules/utimecmp b/modules/utimecmp index 398411e..93672d9 100644 --- a/modules/utimecmp +++ b/modules/utimecmp @@ -12,6 +12,7 @@ stat-time time utimens intprops +largefile lstat stdbool stdint diff --git a/modules/utimens b/modules/utimens index 1a9687f..2bf46ff 100644 --- a/modules/utimens +++ b/modules/utimens @@ -11,6 +11,7 @@ m4/utimes.m4 Depends-on: dup2 errno +largefile lstat gettime stat-time -- 1.7.4.4