m4/fsusage.m4


Log

Author Commit Date CI Message
Paul Eggert eda39b87 2003-08-16T08:28:42 [__GLIBC__]: GNU libc's statvfs stats each mount point in /proc/mounts until it finds one with matching device number. This is unnecessary when the FILE argument *is* a mount point. No stat call is necessary in that case. So, disable the statvfs-testing code on systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh as RedHat bug# 84846.
Paul Eggert 552a680f 2003-05-29T07:21:59 in lib: * addext.c, backupfile.c, fsusage.c, human.c, pathmax.h, rpmatch.c, userspec.c, xreadlink.c, xstrtol.c: Include <limits.h> without checking for HAVE_LIMITS_H. * backupfile.c, fsusage.c, hash.c, human.c, safe-read.c, userspec.c, xstrtol.c (CHAR_BIT) : Don't define, since <limits.h> is guaranteed to do that. * fatal.c: Include <stdarg.h> without checking for __STDC__. * exclude.c: Include <stdbool.h> unconditionally. * tempname.c: Include <stddef.h> unconditionally. * hash.c: Include <limits.h>, since we no longer define CHAR_BIT. * modechange.c, rpmatch.c (NULL): Don't define, since <stddef.h> does that. * quote.c: Dont include <stddef.h> or <sys/types.h>; not needed. * safe-read.c (INT_MAX): Don't define, since <limits.h> does that. * safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed. * xstrtol.c: Likewise. * safe-read.c: Remove TYPE_SIGNED; no longer needed. * savedir.c: Include <stddef.h> instead of defining NULL. in m4: * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h. * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise. * human.m4 (gl_HUMAN): Likewise. * pathmax.m4 (gl_PATHMAX): Likewise. * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise. * userspec.m4 (gl_USERSPEC): Likewise. * xreadlink.m4 (gl_XREADLINK): Likewise. * m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise. * quote.m4 (gl_QUOTE): Don't check for stddef.h.
Bruno Haible e059c235 2002-12-31T13:43:06 An independent .m4 file for each module.
Jim Meyering ee76465a 2001-08-12T13:26:00 Quote the first argument in each use of AC_DEFUN.
Jim Meyering 1c245fc3 2001-02-04T08:28:29 fix typo: s/found/yes/
Jim Meyering 6b7db2c1 2001-02-03T16:45:25 (jm_FILE_SYSTEM_USAGE): Restore prior use of AS_IF, now that it works once again (mysteriously).
Jim Meyering c7cf9dc0 2001-01-28T21:45:36 add a comment, reformat a little.
Jim Meyering 09af0f71 2001-01-27T14:06:18 (jm_FILE_SYSTEM_USAGE): Open-code what was a use of AS_IF.
Jim Meyering 3ee254ab 2001-01-27T13:24:32 (jm_FILE_SYSTEM_USAGE): Add `[]' between use of AS_IF and following `dnl'.
Jim Meyering 7da50ad1 2001-01-17T10:34:16 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE, for autoconf-2.49c.
Jim Meyering e794ae88 2000-10-29T22:43:08 s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
Jim Meyering dee44991 2000-07-04T17:15:45 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead of deprecated AC_CHECKING.
Jim Meyering 595e13da 2000-06-23T13:43:41 s/AC_MSG_CHECKING/AC_CHECKING/. Suggestion from Bruno Haible.
Jim Meyering 55d60367 2000-05-01T08:36:13 Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
Jim Meyering a34293d5 2000-01-23T14:49:09 (jm_FILE_SYSTEM_USAGE): Take two parameters.
Jim Meyering 67020064 2000-01-23T14:12:45 s/space/ac_fsusage_space/.
Jim Meyering 4441f969 2000-01-23T14:08:35 Extracted from fileutils/configure.in.