From 82ff49b55425e14156a89f4d2ab4267409665f54 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Aug 2006 06:11:26 +0000 Subject: [PATCH] Add and change modules to make it easier for coreutils to use gnulib-tool. * lib/cycle-check.h: Include unconditionally, since we now assume the stdint module. Do not include inttypes.h. * lib/fsusage.h: Likewise. * lib/getndelim2.c: Likewise. * lib/human.h: Likewise. * lib/inttostr.h: Likewise. * lib/obstack.c: Likewise. * lib/regex_internal.h: Likewise. * lib/tempname.c: Likewise. * lib/utimecmp.c: Likewise. * lib/xstrtol.h: Likewise. * lib/stat_.h: Fix typo: HAVE_FUNC_LSTAT -> HAVE_LSTAT. * lib/strtoimax.c: Adjust to macro name changes in Autoconf, e.g., HAVE_LONG_LONG -> HAVE_LONG_LONG_INT. * lib/xtime.h: Likewise. Remove files that are no longer needed by their respective modules. * m4/obstack.m4: Remove. * m4/strerror_r.m4: Remove. * m4/uint32_t.m4: Remove. * m4/uintptr_t.m4: Remove. * m4/ullong_max.m4: Remove. * m4/xstrtoimax.m4: Remove. * m4/xstrtoumax.m4: Remove. * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T, gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now capture this. * cycle-check.m4 (gl_CYCLE_CHECK): Do not use AC_LIBSOURCES, since gnulib modules now do this. * fsusage.m4 (gl_FSUSAGE): Likewise. * human.m4 (gl_HUMAN): Likewise. * inttostr.m4 (gl_INTTOSTR): Likewise. * xstrtol.m4 (gl_XSTRTOL): Likewise. * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE. * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require stdint. * human.m4 (gl_HUMAN): Likewise. * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise. * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise. * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise. * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise. * xstrtol (gl_XSTRTOL): Likewise. * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG -> AC_TYPE_LONG_LONG_INT. * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise. * strtoll.m4 (gl_FUNC_STRTOLL): Likewise. * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long. * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise. * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend on stdbool. * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove. (gl_PREREQ_XSTRTOUL): Remove. * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt. * posixver.m4: Fix comment since head -1 now works even in POSIX mode. * modules/backupfile (Files): Remove m4/d-ino.m4. (Depends-on): Add d-ino. * modules/cycle-check (Depends-on): Add stdint. (lib_SOURCES): Add cycle-check.h. * modules/d-ino: New module. * modules/d-type: New module. * modules/error (Files): Remove m4/strerror_r.m4. * modules/filemode (Files): Add m4/st_dm_mode.m4. * modules/fsuage (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4. (Depends-on): Add stdint. (lib_SOURCES): Add fsusage.h. * modules/getcwd (Files): Remove d-ino.m4. (Depends-on): Add d-ino. * modules/getndelim2 (Depends-on): Add stdint. * modules/glob (Files): Remove m4/d-type.m4. (Depends-on): Add d-type. * modules/host-os: New module. * modules/human (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4. * Depends-on: Add stdint. (lib_SOURCES): Add human.h. * modules/inttostr (Files): Remove m4/intmax_t.m4, m4/inttostr.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4. (Depends-on): Add stdint. (EXTRA_DIST): Add inttostr.h. * modules/lchmod: New module. * modules/link-follow: New module. * modules/mkdir-p (Files): Remove lib/lchmod.h, m4/lchmod.m4. (Depends-on): Add lchmod. * modules/mkstemp (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4. (Depends-on): Add stdint. * modules/obstack (Files): Remove m4/inttypes_h.m4, m4/obstack.m4, m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4. (Depends-on): Add stdint. (configure.ac): Change gl_OBSTACK to AC_FUNC_OBSTACK. * modules/perl: New module. * modules/regex (Depends-on): Add stdint. * modules/rmdir-errno: New module. * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4, m4/intmax_t.m4. (Depends-on): Add stdint. * modules/strtoumax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4. (Depends-on): Add stdint. * modules/unlink-busy: New module. * modules/utimecmp (Depends-on): Add stdint. * modules/uptime: New module. * modules/winsz-ioctl: New module. * modules/winsz-termios: New module. * modules/xnanosleep (Depends-on): Add nanosleep. * modules/ullong_max: Remove. * modules/xstrtoimax (Files): Remove m4/xstrtoimax.m4. (configure.ac): Remove gl_XSTRTOIMAX; no action needed now. * modules/xstrtol (Files): Remove m4/ulonglong.m4, m4/longlong.m4, m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/intmax_t.m4. (Depends-on): Add inttypes. (lib_SOURCES): Add xstrtol.h. * modules/xstrtoumax (Files): Remove m4/xstrtoumax.m4. (configure.ac): Remove gl_XSTRTOUMAX; no action needed now. * MODULES.html.sh: Move 'assert' into the assert section. Move 'dummy' into the linking section. Remove ullong_max. Add section for compatibility checks for POSIX:2001 functions, and put d-ino, d-type, link-follow, rmdir-errno, unlink-busy, winsz-ioctl, and winsz-termios into it. Add lchmod. Add top-level Misc section and put host-os, perl, and uptime into it. --- ChangeLog | 76 + MODULES.html | 7371 +++++++++++++++++++++++++------------------------ MODULES.html.sh | 31 +- lib/ChangeLog | 20 + lib/cycle-check.h | 7 +- lib/fsusage.h | 7 +- lib/getndelim2.c | 20 +- lib/human.h | 9 +- lib/inttostr.h | 11 +- lib/obstack.c | 12 +- lib/regex_internal.h | 4 +- lib/stat_.h | 2 +- lib/strtoimax.c | 12 +- lib/tempname.c | 8 +- lib/utimecmp.c | 10 +- lib/xstrtol.h | 11 +- lib/xtime.h | 2 +- m4/ChangeLog | 59 +- m4/cycle-check.m4 | 8 +- m4/filemode.m4 | 1 + m4/fsusage.m4 | 3 - m4/gethrxtime.m4 | 4 +- m4/human.m4 | 9 +- m4/inttostr.m4 | 13 +- m4/ls-mntd-fs.m4 | 3 +- m4/mkstemp.m4 | 1 - m4/obstack.m4 | 23 - m4/posixver.m4 | 6 +- m4/strerror_r.m4 | 50 - m4/strtoimax.m4 | 7 +- m4/strtoll.m4 | 10 +- m4/strtoull.m4 | 10 +- m4/strtoumax.m4 | 7 +- m4/uint32_t.m4 | 53 - m4/uintptr_t.m4 | 54 - m4/ullong_max.m4 | 27 - m4/xstrtoimax.m4 | 14 - m4/xstrtol.m4 | 27 +- m4/xstrtoumax.m4 | 14 - modules/backupfile | 2 +- modules/cycle-check | 2 + modules/d-ino | 20 + modules/d-type | 20 + modules/error | 1 - modules/filemode | 1 + modules/fsusage | 6 +- modules/getcwd | 2 +- modules/getndelim2 | 1 + modules/glob | 2 +- modules/host-os | 20 + modules/human | 6 +- modules/inttostr | 9 +- modules/lchmod | 22 + modules/link-follow | 20 + modules/mkdir-p | 3 +- modules/mkstemp | 5 +- modules/obstack | 9 +- modules/perl | 20 + modules/regex | 1 + modules/rmdir-errno | 20 + modules/strtoimax | 4 +- modules/strtoumax | 5 +- modules/ullong_max | 21 - modules/unlink-busy | 20 + modules/uptime | 20 + modules/utimecmp | 1 + modules/winsz-ioctl | 21 + modules/winsz-termios | 21 + modules/xnanosleep | 1 + modules/xstrtoimax | 4 - modules/xstrtol | 8 +- modules/xstrtoumax | 3 - 72 files changed, 4234 insertions(+), 4103 deletions(-) delete mode 100644 m4/obstack.m4 delete mode 100644 m4/strerror_r.m4 delete mode 100644 m4/uint32_t.m4 delete mode 100644 m4/uintptr_t.m4 delete mode 100644 m4/ullong_max.m4 delete mode 100644 m4/xstrtoimax.m4 delete mode 100644 m4/xstrtoumax.m4 create mode 100644 modules/d-ino create mode 100644 modules/d-type create mode 100644 modules/host-os create mode 100644 modules/lchmod create mode 100644 modules/link-follow create mode 100644 modules/perl create mode 100644 modules/rmdir-errno delete mode 100644 modules/ullong_max create mode 100644 modules/unlink-busy create mode 100644 modules/uptime create mode 100644 modules/winsz-ioctl create mode 100644 modules/winsz-termios diff --git a/ChangeLog b/ChangeLog index 115412495..59dc70801 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,79 @@ +2006-08-20 Paul Eggert + + Add and change modules to make it easier for coreutils to use + gnulib-tool. + * modules/backupfile (Files): Remove m4/d-ino.m4. + (Depends-on): Add d-ino. + * modules/cycle-check (Depends-on): Add stdint. + (lib_SOURCES): Add cycle-check.h. + * modules/d-ino: New module. + * modules/d-type: New module. + * modules/error (Files): Remove m4/strerror_r.m4. + * modules/filemode (Files): Add m4/st_dm_mode.m4. + * modules/fsuage (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, + m4/inttypes_h.m4, m4/uintmax_t.m4. + (Depends-on): Add stdint. + (lib_SOURCES): Add fsusage.h. + * modules/getcwd (Files): Remove d-ino.m4. + (Depends-on): Add d-ino. + * modules/getndelim2 (Depends-on): Add stdint. + * modules/glob (Files): Remove m4/d-type.m4. + (Depends-on): Add d-type. + * modules/host-os: New module. + * modules/human (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, + m4/inttypes_h.m4, m4/uintmax_t.m4. + * Depends-on: Add stdint. + (lib_SOURCES): Add human.h. + * modules/inttostr (Files): Remove m4/intmax_t.m4, + m4/inttostr.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/stdint_h.m4, + m4/uintmax_t.m4, m4/ulonglong.m4. + (Depends-on): Add stdint. + (EXTRA_DIST): Add inttostr.h. + * modules/lchmod: New module. + * modules/link-follow: New module. + * modules/mkdir-p (Files): Remove lib/lchmod.h, m4/lchmod.m4. + (Depends-on): Add lchmod. + * modules/mkstemp (Files): Remove m4/ulonglong.m4, + m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4. + (Depends-on): Add stdint. + * modules/obstack (Files): Remove m4/inttypes_h.m4, m4/obstack.m4, + m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4. + (Depends-on): Add stdint. + (configure.ac): Change gl_OBSTACK to AC_FUNC_OBSTACK. + * modules/perl: New module. + * modules/regex (Depends-on): Add stdint. + * modules/rmdir-errno: New module. + * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4, + m4/intmax_t.m4. + (Depends-on): Add stdint. + * modules/strtoumax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4, + m4/uintmax_t.m4. + (Depends-on): Add stdint. + * modules/unlink-busy: New module. + * modules/utimecmp (Depends-on): Add stdint. + * modules/uptime: New module. + * modules/winsz-ioctl: New module. + * modules/winsz-termios: New module. + * modules/xnanosleep (Depends-on): Add nanosleep. + * modules/ullong_max: Remove. + * modules/xstrtoimax (Files): Remove m4/xstrtoimax.m4. + (configure.ac): Remove gl_XSTRTOIMAX; no action needed now. + * modules/xstrtol (Files): Remove m4/ulonglong.m4, m4/longlong.m4, + m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/intmax_t.m4. + (Depends-on): Add inttypes. + (lib_SOURCES): Add xstrtol.h. + * modules/xstrtoumax (Files): Remove m4/xstrtoumax.m4. + (configure.ac): Remove gl_XSTRTOUMAX; no action needed now. + * MODULES.html.sh: Move 'assert' into the assert section. + Move 'dummy' into the linking section. + Remove ullong_max. + Add section for compatibility checks for POSIX:2001 functions, + and put d-ino, d-type, link-follow, rmdir-errno, unlink-busy, + winsz-ioctl, and winsz-termios into it. + Add lchmod. + Add top-level Misc section and put host-os, perl, and uptime + into it. + 2006-08-19 Paul Eggert * modules/openat (Files): Add lib/fchmodat.c. diff --git a/MODULES.html b/MODULES.html index 0bbdb5ba7..4b069b95d 100644 --- a/MODULES.html +++ b/MODULES.html @@ -2,7 +2,7 @@ Gnulib Module List - +

Gnulib Module List

@@ -10,14 +10,6 @@

Support for systems lacking ANSI C 89

- - - - @@ -83,6 +75,10 @@

Diagnostics <assert.h>

assert - Allow the installer to disable assertions through "configure --disable-assert". -
dummy - A dummy file, to make sure the library is non-empty. -
exit exit() function: program termination.
+ + @@ -490,10 +486,6 @@ memory allocation.

Sizes of integer types <limits.h>

assert + Allow the installer to disable assertions through "configure --disable-assert". +
verify Compile-time assert-like macros.
- - @@ -731,3633 +723,3764 @@ to a fixed length string
ullong_max - The maximum unsigned long long value, as a preprocessor constant. -
size_max Provide SIZE_MAX.
Determine the number of screen columns needed for a character.
-

Enhancements for POSIX:2001 functions

- - - - - - - - - - - - - - - + + + + + + + + + + + + + +
dirname - Extract specific portions of filenames. -
getopt - Process command line arguments. -
unistd-safer - File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. -
fnmatch - GNU fnmatch() implementation. -
fnmatch-posix - fnmatch() function: wildcard matching. -
fnmatch-gnu - fnmatch() function: wildcard matching, with GNU extensions. -
glob - glob() function: Search for files and directories with paths matching a +

Compatibility checks for POSIX:2001 functions

+
d-ino + Check whether struct dirent has a member named d_ino. +
d-type + Check whether struct dirent has a member named d_type. +
link-follow + Determine whether link("symlink", "foo") follows the symlink. +
rmdir-errno + rmdir errno for nonempty directories +
unlink-busy + Test whether a running program can be unlinked. +
winsz-ioctl + Test whether use of TIOCGWINSZ requires sys/ioctl.h. +
winsz-termios + Test whether use of TIOCGWINSZ requires termios.h. +
+

Enhancements for POSIX:2001 functions

+ + + + + + + + + + + + + + + - - -
dirname + Extract specific portions of filenames. +
getopt + Process command line arguments. +
unistd-safer + File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. +
fnmatch + GNU fnmatch() implementation. +
fnmatch-posix + fnmatch() function: wildcard matching. +
fnmatch-gnu + fnmatch() function: wildcard matching, with GNU extensions. +
glob + glob() function: Search for files and directories with paths matching a pattern, with GNU extensions. -
exclude - Manage list of filenames or wildcard patterns for --exclude option processing. -
-

Extra functions based on POSIX:2001

-

Numeric conversion functions

- - - + + +
human - Convert a number (usually a file size) to a human readable string, possibly +
exclude + Manage list of filenames or wildcard patterns for --exclude option processing. +
+

Extra functions based on POSIX:2001

+

Numeric conversion functions

+ + + -
human + Convert a number (usually a file size) to a human readable string, possibly with K/M/G suffix. -
-

File system functions

- - - - - +
acl - Access control lists of files. (Unportable.) -
backupfile - Determination of the filename of a backup file, according to user environment +
+

File system functions

+ + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - -
acl + Access control lists of files. (Unportable.) +
backupfile + Determination of the filename of a backup file, according to user environment variables. -
canonicalize - Return the canonical absolute name of a given file. -
clean-temp - Temporary directories and temporary files with automatic cleanup. -
copy-file - Copying of files. -
cycle-check - help detect directory cycles efficiently -
fsusage - Return file system space usage info. -
dirfd - Retrieving the file descriptor of an open directory stream. (Unportable.) -
euidaccess - euidaccess() function: check effective user's permissions for a file. -
file-type - Return a string describing the type of a file. -
fileblocks - Estimate number of blocks of a file, if 'struct stat' doesn't have st_blocks. -
filemode - Return a string (?rwxrwxrwx format) describing the type and permissions of a +
canonicalize + Return the canonical absolute name of a given file. +
clean-temp + Temporary directories and temporary files with automatic cleanup. +
copy-file + Copying of files. +
cycle-check + help detect directory cycles efficiently +
fsusage + Return file system space usage info. +
dirfd + Retrieving the file descriptor of an open directory stream. (Unportable.) +
euidaccess + euidaccess() function: check effective user's permissions for a file. +
file-type + Return a string describing the type of a file. +
fileblocks + Estimate number of blocks of a file, if 'struct stat' doesn't have st_blocks. +
filemode + Return a string (?rwxrwxrwx format) describing the type and permissions of a file. -
filenamecat - Concatenate two arbitrary file names. -
fts - Traverse a file hierarchy. -
fts-lgpl - Traverse a file hierarchy (LPGL'ed version). -
isdir - Determine whether a directory exists. -
lchown - lchown() function: change ownership of a file. -
mkancesdirs - Ensure the existence of the ancestor directories of a file. -
mkdir-p - Ensure that a directory and its parents exist. -
modechange - Manipulation of mode changes specified by strings (e.g. as first argument of +
filenamecat + Concatenate two arbitrary file names. +
fts + Traverse a file hierarchy. +
fts-lgpl + Traverse a file hierarchy (LPGL'ed version). +
isdir + Determine whether a directory exists. +
lchmod + lchmod that is actually chmod (!) on hosts lacking lchmod +
lchown + lchown() function: change ownership of a file. +
mkancesdirs + Ensure the existence of the ancestor directories of a file. +
mkdir-p + Ensure that a directory and its parents exist. +
modechange + Manipulation of mode changes specified by strings (e.g. as first argument of chmod utility). -
mountlist - Return list of mounted file systems. -
pathname - Construct a full pathname by concatenating a directory name, a relative +
mountlist + Return list of mounted file systems. +
pathname + Construct a full pathname by concatenating a directory name, a relative filename, and a suffix. -
pathmax - Return maximum size of reasonable pathnames. (Unportable: Hurd has no limit.) -
same - Determine whether two file names refer to the same directory entry of the same +
pathmax + Return maximum size of reasonable pathnames. (Unportable: Hurd has no limit.) +
same + Determine whether two file names refer to the same directory entry of the same directory. -
save-cwd - Save and restore the current working directory. -
savedir - Return the entries of a directory (just the names) as an argz string. -
stat-time - stat-related time functions -
tmpdir - Determine a temporary directory. -
unlinkdir - Determine (and maybe change) whether we can unlink directories. -
utimecmp - compare file time stamps -
utimens - Set file access and modification times. -
xgetcwd - Return the current working directory, without size limitations. -
xreadlink - Return the contents of a symbolic link, without size limitations. -
-

File descriptor based Input/Output

- - - - - - - - - - - - - -
fcntl-safer - File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. -
safe-read - An interface to read() that retries after interrupts. -
safe-write - An interface to write() that retries after interrupts. -
full-read - An interface to read() that reads all it is asked to read. -
full-write - An interface to write() that writes all it is asked to write. -
binary-io - Binary mode I/O. -
-

File stream based Input/Output

- - - - - - - - - - - - - - - - - -
close-stream - Close a stream, with nicer error checking than fclose's. -
closeout - Close standard output, exiting with a diagnostic on error. -
fopen-safer - fopen function that avoids clobbering std{in,out,err}. -
fpending - Determine the number of bytes waiting in the output buffer of a stream. -
getpass - getpass() function: read a password from /dev/tty. -
getpass-gnu - getpass() function: read a password of arbitrary length from /dev/tty. -
stdlib-safer - File stream functions that avoid clobbering std{in,out,err}. -
tmpfile-safer - tmpfile function that avoids clobbering std{in,out,err}. -
-

Users and groups

- - - - - - - - - -
getugroups - Return the group IDs of a user. -
group-member - Determine whether the current process has the permissions of a given group ID. -
idcache - Username <--> uid and groupname <--> gid conversions, with cache for speed. -
userspec - Parse a `user:group' specifier (e.g. the first argument of chown utility). -
-

Date and time

- - - - - - - - - -
gettime - Return current time, with nanosecond resolution. -
settime - Set the current time, with nanosecond resolution. -
posixtm - Convert a date/time string (POSIX syntax) to linear time or broken-down time. -
xnanosleep - a more convenient interface to nanosleep -
-

Networking functions

- - - - - + + + + + + + + + + + + + + + + + + +
xgethostname - Return machine's hostname, without size limitations. -
canon-host - Canonicalize a host name: return a name other hosts can understand, i.e. +
save-cwd + Save and restore the current working directory. +
savedir + Return the entries of a directory (just the names) as an argz string. +
stat-time + stat-related time functions +
tmpdir + Determine a temporary directory. +
unlinkdir + Determine (and maybe change) whether we can unlink directories. +
utimecmp + compare file time stamps +
utimens + Set file access and modification times. +
xgetcwd + Return the current working directory, without size limitations. +
xreadlink + Return the contents of a symbolic link, without size limitations. +
+

File descriptor based Input/Output

+ + + + + + + + + + + + + +
fcntl-safer + File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. +
safe-read + An interface to read() that retries after interrupts. +
safe-write + An interface to write() that retries after interrupts. +
full-read + An interface to read() that reads all it is asked to read. +
full-write + An interface to write() that writes all it is asked to write. +
binary-io + Binary mode I/O. +
+

File stream based Input/Output

+ + + + + + + + + + + + + + + + + +
close-stream + Close a stream, with nicer error checking than fclose's. +
closeout + Close standard output, exiting with a diagnostic on error. +
fopen-safer + fopen function that avoids clobbering std{in,out,err}. +
fpending + Determine the number of bytes waiting in the output buffer of a stream. +
getpass + getpass() function: read a password from /dev/tty. +
getpass-gnu + getpass() function: read a password of arbitrary length from /dev/tty. +
stdlib-safer + File stream functions that avoid clobbering std{in,out,err}. +
tmpfile-safer + tmpfile function that avoids clobbering std{in,out,err}. +
+

Users and groups

+ + + + + + + + + +
getugroups + Return the group IDs of a user. +
group-member + Determine whether the current process has the permissions of a given group ID. +
idcache + Username <--> uid and groupname <--> gid conversions, with cache for speed. +
userspec + Parse a `user:group' specifier (e.g. the first argument of chown utility). +
+

Date and time

+ + + + + + + + + +
gettime + Return current time, with nanosecond resolution. +
settime + Set the current time, with nanosecond resolution. +
posixtm + Convert a date/time string (POSIX syntax) to linear time or broken-down time. +
xnanosleep + a more convenient interface to nanosleep +
+

Networking functions

+ + + + + -
xgethostname + Return machine's hostname, without size limitations. +
canon-host + Canonicalize a host name: return a name other hosts can understand, i.e. usually the host name including FQDN. -
-

Multithreading

- - - - - -
lock - Locking in multithreaded situations. -
tls - Thread-local storage in multithreaded situations. -
-

Internationalization functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - +
gettext - Translate messages to user's native language. -
gettext-h - Translate messages to user's native language if the gettext module is also used. -
iconv - Character set conversion. -
iconvme - Character set conversion of strings made easy, uses iconv. -
localcharset - Return current locale's character encoding. -
hard-locale - Determine whether the current locale is different from the "C" locale. -
mbswidth - Determine the number of screen columns needed for a string. -
memcasecmp - Case-insensitive memory area comparison. -
memcoll - Locale dependent memory area comparison. -
xmemcoll - Locale dependent memory area comparison, with error checking. -
unicodeio - Unicode character output to streams with locale dependent encoding. -
rpmatch - Locale dependent classification of a response as matching "yes" or "no". -
yesno - Read a response from the user, and its classification as matching "yes" or +
+

Multithreading

+ + + + + +
lock + Locking in multithreaded situations. +
tls + Thread-local storage in multithreaded situations. +
+

Internationalization functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - -
gettext + Translate messages to user's native language. +
gettext-h + Translate messages to user's native language if the gettext module is also used. +
iconv + Character set conversion. +
iconvme + Character set conversion of strings made easy, uses iconv. +
localcharset + Return current locale's character encoding. +
hard-locale + Determine whether the current locale is different from the "C" locale. +
mbswidth + Determine the number of screen columns needed for a string. +
memcasecmp + Case-insensitive memory area comparison. +
memcoll + Locale dependent memory area comparison. +
xmemcoll + Locale dependent memory area comparison, with error checking. +
unicodeio + Unicode character output to streams with locale dependent encoding. +
rpmatch + Locale dependent classification of a response as matching "yes" or "no". +
yesno + Read a response from the user, and its classification as matching "yes" or "no". -
ucs4-utf8 - Conversion UCS-4 to UTF-8. -
ucs4-utf16 - Conversion UCS-4 to UTF-16. -
utf8-ucs4 - Conversion UTF-8 to UCS-4. -
utf16-ucs4 - Conversion UTF-16 to UCS-4. -
linebreak - Line breaking (works also for East-Asian languages). -
bison-i18n - Support for internationalization of bison-generated parsers. -
-

Executing programs

- - - - - - - - - - - - - -
cloexec - Set or clear the close-on-exec descriptor flag. -
findprog - Locating a program in PATH. -
wait-process - Waiting for a subprocess to finish. -
execute - Creation of autonomous subprocesses. -
pipe - Creation of subprocesses, communicating via pipes. -
sh-quote - Shell quoting. -
-

Java

- - - - - - - - - -
classpath - Java CLASSPATH handling. -
javacomp - Compile a Java program. -
javaexec - Execute a Java program. -
javaversion - Determine the Java version supported by javaexec. -
-

C#

- - - - - -
csharpcomp - Compile a C# program. -
csharpexec - Execute a C# program. -
-

Misc

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
argp - Hierarchical processing of command line arguments. -
argz - Argv style string arrays in a single null delimited char*. -
byteswap - Swap bytes of 16, 32 and 64 bit values. -
exitfail - Set exit status for fatal signal. -
c-stack - Stack overflow handling, causing program exit. -
error - error() and error_at_line() functions: Error reporting. -
extensions - Enable extensions in standard headers -
getdomainname - getdomainname() function: Return machine's NIS domain name. -
xgetdomainname - Return machine's domainname, without size limitations. -
getloadavg - Return the current system load averages. -
getpagesize - getpagesize() function: Return memory page size. -
getusershell - Return names of valid user shells. -
physmem - Return amount of total/available physical memory. -
posixver - Determine desired POSIX specification version, according to user's environment +
ucs4-utf8 + Conversion UCS-4 to UTF-8. +
ucs4-utf16 + Conversion UCS-4 to UTF-16. +
utf8-ucs4 + Conversion UTF-8 to UCS-4. +
utf16-ucs4 + Conversion UTF-16 to UCS-4. +
linebreak + Line breaking (works also for East-Asian languages). +
bison-i18n + Support for internationalization of bison-generated parsers. +
+

Executing programs

+ + + + + + + + + + + + + +
cloexec + Set or clear the close-on-exec descriptor flag. +
findprog + Locating a program in PATH. +
wait-process + Waiting for a subprocess to finish. +
execute + Creation of autonomous subprocesses. +
pipe + Creation of subprocesses, communicating via pipes. +
sh-quote + Shell quoting. +
+

Java

+ + + + + + + + + +
classpath + Java CLASSPATH handling. +
javacomp + Compile a Java program. +
javaexec + Execute a Java program. +
javaversion + Determine the Java version supported by javaexec. +
+

C#

+ + + + + +
csharpcomp + Compile a C# program. +
csharpexec + Execute a C# program. +
+

Misc

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - -
argp + Hierarchical processing of command line arguments. +
argz + Argv style string arrays in a single null delimited char*. +
byteswap + Swap bytes of 16, 32 and 64 bit values. +
exitfail + Set exit status for fatal signal. +
c-stack + Stack overflow handling, causing program exit. +
error + error() and error_at_line() functions: Error reporting. +
extensions + Enable extensions in standard headers +
getdomainname + getdomainname() function: Return machine's NIS domain name. +
xgetdomainname + Return machine's domainname, without size limitations. +
getloadavg + Return the current system load averages. +
getpagesize + getpagesize() function: Return memory page size. +
getusershell + Return names of valid user shells. +
physmem + Return amount of total/available physical memory. +
posixver + Determine desired POSIX specification version, according to user's environment variables. -
progname - Program name management. -
quotearg - Quote arguments for use in error messages. -
quote - Quote arguments for use in error messages. -
readutmp - Read entire utmp file into memory. -
sig2str - Convert between signal names and signal numbers. -
sysexits - Exit status codes for some BSD system programs. -
verror - verror() and verror_at_line() functions: Error reporting with va_list. -
visibility - Control of symbols exported by shared libraries. -
-

Support for building libraries and executables

- - - - - -
ldd - Command to determine the dynamically linked dependencies of a program. -
lib-ignore - If possible, ignore libraries that are not depended on. -
-

Support for building documentation

- - - - - -
fdl - Provide the Free Documentation License. -
gendocs - Generate manuals in several formats from Texinfo sources, -
-

Support for systems lacking ANSI C 89

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
assert - #include <assert.h> - --- - assert.m4
gl_ASSERT -
--- -
dummy - --- - dummy.c - --- - --- -
exit - #include "exit.h" - --- - --- - --- -
atexit - #include <stdlib.h> - atexit.c - atexit.m4
gl_FUNC_ATEXIT -
--- -
strtod - #include <stdlib.h> - strtod.c - strtod.m4
gl_FUNC_STRTOD -
--- -
strtol - #include <stdlib.h> - strtol.c - strtol.m4
gl_FUNC_STRTOL -
--- -
strtoul - #include <stdlib.h> - strtoul.c - strtoul.m4
gl_FUNC_STRTOUL -
strtol -
memchr - #include <string.h> - memchr.c - memchr.m4
gl_FUNC_MEMCHR -
--- -
memcmp - #include <string.h> - memcmp.c - memcmp.m4
gl_FUNC_MEMCMP -
--- -
memcpy - #include <string.h> - memcpy.c - memcpy.m4
gl_FUNC_MEMCPY -
--- -
memmove - #include <string.h> - memmove.c - memmove.m4
gl_FUNC_MEMMOVE -
--- -
memset - #include <string.h> - memset.c - memset.m4
gl_FUNC_MEMSET -
--- -
strcspn - #include <string.h> - strcspn.c - strcspn.m4
gl_FUNC_STRCSPN -
--- -
strpbrk - #include "strpbrk.h" - strpbrk.c - strpbrk.m4
gl_FUNC_STRPBRK -
--- -
strstr - #include "strstr.h" - strstr.c - strstr.m4
mbrtowc.m4
gl_FUNC_STRSTR -
mbuiter -
strerror - #include <string.h> - strerror.c - strerror.m4
gl_FUNC_STRERROR -
--- -
mktime - #include <time.h> - mktime.c - mktime.m4
gl_FUNC_MKTIME -
time_r -
- Most of these modules are not listed among dependencies below, for simplicity. -

Enhancements for ANSI C 89 functions

-

Diagnostics <assert.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
verify - #include "verify.h" - --- - --- - --- -
-

Memory management functions <stdlib.h>

- - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
calloc - #include <stdlib.h> - calloc.c - calloc.m4
AC_FUNC_CALLOC -
--- -
eealloc - #include <eealloc.h> - eealloc.h - eealloc.m4
gl_EEALLOC -
--- -
free - #include <stdlib.h> - free.c - free.m4
gl_FUNC_FREE -
--- -
malloc - #include <stdlib.h> - malloc.c - AC_FUNC_MALLOC - --- -
realloc - #include <stdlib.h> - realloc.c - AC_FUNC_REALLOC - --- -
pagealign_alloc - #include "pagealign_alloc.h" - pagealign_alloc.c - mmap-anon.m4
pagealign_alloc.m4
gl_PAGEALIGN_ALLOC -
error
exit
getpagesize
gettext-h
xalloc
unistd -
-

Date and time <time.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
fprintftime - #include "fprintftime.h" - fprintftime.c - fprintftime.m4
gl_FPRINTFTIME -
strftime -
strftime - #include "strftime.h" - strftime.c - mbstate_t.m4
tm_gmtoff.m4
strftime.m4
gl_FUNC_GNU_STRFTIME -
time_r
stdbool -
-

Extra functions based on ANSI C 89

-

Memory management functions <stdlib.h>

- - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
xsize - #include "xsize.h" - --- - xsize.m4
gl_XSIZE -
size_max -
xalloc - #include "xalloc.h" - xmalloc.c - xalloc.m4
gl_XALLOC -
xalloc-die -
xalloc-die - #include "xalloc.h" - xalloc-die.c - --- - xalloc
error
gettext-h
exitfail -
alloca - #include <alloca.h> - alloca.c - --- - alloca-opt -
alloca-opt - #include <alloca.h> - alloca_.h - alloca.m4
gl_FUNC_ALLOCA -
--- -
allocsa - #include "allocsa.h" - allocsa.c
allocsa.valgrind -
allocsa.m4
eealloc.m4
longlong.m4
longdouble.m4
gl_ALLOCSA -
alloca-opt -
xallocsa - #include "xallocsa.h" - xallocsa.c - --- - allocsa
xalloc -
-

Integer arithmetic functions <stdlib.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
gcd - #include "gcd.h" - gcd.c - --- - --- -
minmax - #include "minmax.h" - --- - minmax.m4
gl_MINMAX -
--- -
-

Environment variables <stdlib.h>

- - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
putenv - --- - putenv.c - putenv.m4
gl_FUNC_PUTENV -
--- -
setenv - #include "setenv.h" - setenv.c
unsetenv.c -
setenv.m4
gt_FUNC_SETENV -
allocsa
alloca-opt
unistd -
xsetenv - #include "xsetenv.h" - xsetenv.c - --- - setenv
error
exit
gettext-h -
-

Character handling <ctype.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
c-ctype - #include "c-ctype.h" - c-ctype.c - --- - stdbool -
-

String handling <string.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
bcopy - --- - bcopy.c - AC_REPLACE_FUNCS(bcopy) - --- -
memmem - #include "memmem.h" - memmem.c - memmem.m4
gl_FUNC_MEMMEM -
--- -
mempcpy - #include "mempcpy.h" - mempcpy.c - mempcpy.m4
gl_FUNC_MEMPCPY -
--- -
memrchr - #include "memrchr.h" - memrchr.c - memrchr.m4
gl_FUNC_MEMRCHR -
--- -
stpcpy - #include "stpcpy.h" - stpcpy.c - stpcpy.m4
gl_FUNC_STPCPY -
--- -
stpncpy - #include "stpncpy.h" - stpncpy.c - stpncpy.m4
gl_FUNC_STPNCPY -
--- -
c-strcase - #include "c-strcase.h" - c-strcasecmp.c
c-strncasecmp.c -
--- - c-ctype -
strcase - #include "strcase.h" - strcasecmp.c
strncasecmp.c -
strcase.m4
mbrtowc.m4
gl_STRCASE -
mbuiter -
c-strcasestr - #include "c-strcasestr.h" - c-strcasestr.c - --- - c-ctype -
strcasestr - #include "strcasestr.h" - strcasestr.c - strcasestr.m4
mbrtowc.m4
gl_FUNC_STRCASESTR -
mbuiter -
strchrnul - #include "strchrnul.h" - strchrnul.c - strchrnul.m4
gl_FUNC_STRCHRNUL -
--- -
strdup - #include "strdup.h" - strdup.c - strdup.m4
gl_FUNC_STRDUP -
--- -
strnlen - #include "strnlen.h" - strnlen.c - strnlen.m4
gl_FUNC_STRNLEN -
--- -
strnlen1 - #include "strnlen1.h" - strnlen1.c - --- - memchr -
strndup - #include "strndup.h" - strndup.c - strndup.m4
gl_FUNC_STRNDUP -
strnlen -
strsep - #include "strsep.h" - strsep.c - strsep.m4
gl_FUNC_STRSEP -
strpbrk -
xstrndup - #include "xstrndup.h" - xstrndup.c - xstrndup.m4
gl_XSTRNDUP -
strndup
xalloc -
-

Numeric conversion functions <stdlib.h>

- - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
c-strtod - #include "c-strtod.h" - c-strtod.c - c-strtod.m4
gl_C_STRTOD -
extensions
xalloc -
c-strtold - #include "c-strtod.h" - c-strtod.c
c-strtold.c -
c-strtod.m4
gl_C_STRTOLD -
extensions
xalloc -
xstrtod - #include "xstrtod.h" - xstrtod.c - xstrtod.m4
gl_XSTRTOD -
stdbool -
xstrtol - #include "xstrtol.h" - xstrtol.c
xstrtoul.c -
ulonglong.m4
longlong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
intmax_t.m4
xstrtol.m4
gl_XSTRTOL -
exitfail
error
intprops -
xstrtold - #include "xstrtod.h" - xstrtod.c
xstrtold.c -
xstrtod.m4
gl_XSTRTOLD -
stdbool -
-

Date and time <time.h>

- - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
getdate - #include "getdate.h" - getdate.y - bison.m4
tm_gmtoff.m4
getdate.m4
gl_GETDATE -
timespec
stdbool
gettime
mktime
setenv
xalloc -
timegm - #include "timegm.h" - timegm.c - timegm.m4
gl_FUNC_TIMEGM -
mktime
time_r -
tzset - #include <time.h> - --- - tzset.m4
gl_FUNC_TZSET_CLOBBER -
gettimeofday -
-

Input/Output <stdio.h>

- - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
unlocked-io - #include "unlocked-io.h" - --- - unlocked-io.m4
gl_FUNC_GLIBC_UNLOCKED_IO -
extensions -
fwriteerror - #include "fwriteerror.h" - fwriteerror.c - --- - stdbool -
vasnprintf - #include "vasnprintf.h" - printf-args.h
printf-args.c
printf-parse.h
printf-parse.c
vasnprintf.c
asnprintf.c -
signed.m4
longdouble.m4
wchar_t.m4
wint_t.m4
longlong.m4
intmax_t.m4
stdint_h.m4
inttypes_h.m4
eoverflow.m4
vasnprintf.m4
gl_FUNC_VASNPRINTF -
alloca-opt
xsize -
vasprintf - #include "vasprintf.h" - vasprintf.c
asprintf.c -
vasprintf.m4
gl_FUNC_VASPRINTF -
vasnprintf -
xvasprintf - #include "xvasprintf.h" - xvasprintf.c
xasprintf.c
xalloc.h -
xvasprintf.m4
gl_XVASPRINTF -
vasprintf
xalloc-die
xsize
stdarg -
-

Signal handling <signal.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
fatal-signal - #include "fatal-signal.h" - fatal-signal.c - fatal-signal.m4
signalblocking.m4
sig_atomic_t.m4
gl_FATAL_SIGNAL -
xalloc
stdbool
unistd -
raise - --- - raise.c - AC_REPLACE_FUNCS(raise) - --- -
-

Command-line arguments

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
argmatch - #include "argmatch.h" - argmatch.c - --- - gettext-h
error
quotearg
quote
exit
exitfail
verify
stdbool -
version-etc - #include "version-etc.h" - version-etc.c - --- - gettext-h
stdarg -
version-etc-fsf - --- - version-etc-fsf.c - --- - version-etc -
long-options - #include "long-options.h" - long-options.c - long-options.m4
gl_LONG_OPTIONS -
version-etc -
-

Container data structures

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
list - #include "gl_list.h" - gl_list.c - gl_list.m4
gl_LIST -
stdbool -
array-list - #include "gl_array_list.h" - gl_array_list.c - --- - list
xalloc
xsize -
carray-list - #include "gl_carray_list.h" - gl_carray_list.c - --- - list
xalloc
xsize -
linked-list - #include "gl_linked_list.h" - gl_linked_list.c
gl_anylinked_list1.h
gl_anylinked_list2.h -
--- - list
xalloc -
avltree-list - #include "gl_avltree_list.h" - gl_avltree_list.c
gl_anyavltree_list1.h
gl_anyavltree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h -
--- - list
xalloc -
rbtree-list - #include "gl_rbtree_list.h" - gl_rbtree_list.c
gl_anyrbtree_list1.h
gl_anyrbtree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h -
--- - list
xalloc -
linkedhash-list - #include "gl_linkedhash_list.h" - gl_linkedhash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anylinked_list1.h
gl_anylinked_list2.h -
--- - list
size_max
xalloc
xsize -
avltreehash-list - #include "gl_avltreehash_list.h" - gl_avltreehash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anyavltree_list1.h
gl_anyavltree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h
gl_anytreehash_list1.h
gl_anytreehash_list2.h -
--- - list
avltree-oset
size_max
xalloc
xsize -
rbtreehash-list - #include "gl_rbtreehash_list.h" - gl_rbtreehash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anyrbtree_list1.h
gl_anyrbtree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h
gl_anytreehash_list1.h
gl_anytreehash_list2.h -
--- - list
rbtree-oset
size_max
xalloc
xsize -
oset - #include "gl_oset.h" - gl_oset.c - gl_list.m4
gl_LIST -
stdbool -
array-oset - #include "gl_array_oset.h" - gl_array_oset.c - --- - oset
xalloc
xsize -
avltree-oset - #include "gl_avltree_oset.h" - gl_avltree_oset.c
gl_anytree_oset.h -
--- - oset
xalloc -
rbtree-oset - #include "gl_rbtree_oset.h" - gl_rbtree_oset.c
gl_anytree_oset.h -
--- - oset
xalloc -
-

Cryptographic computations

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
md5 - #include "md5.h" - md5.c - md5.m4
gl_MD5 -
stdint -
sha1 - #include "sha1.h" - sha1.c - sha1.m4
gl_SHA1 -
stdint -
-

Misc

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
base64 - #include "base64.h" - base64.c - base64.m4
gl_FUNC_BASE64 -
stdbool -
check-version - #include "check-version.h" - check-version.c - check-version.m4
gl_CHECK_VERSION -
strverscmp -
diacrit - #include "diacrit.h" - diacrit.c - --- - --- -
getline - #include "getline.h" - getline.c - getline.m4
gl_FUNC_GETLINE -
getdelim -
getdelim - #include "getdelim.h" - getdelim.c - getdelim.m4
gl_FUNC_GETDELIM -
--- -
getnline - #include "getnline.h" - getnline.c - getnline.m4
gl_GETNLINE -
getndelim2
ssize_t -
getndelim2 - #include "getndelim2.h" - getndelim2.c - getndelim2.m4
gl_GETNDELIM2 -
ssize_t -
linebuffer - #include "linebuffer.h" - linebuffer.c - --- - xalloc -
obstack - #include "obstack.h" - obstack.c - inttypes_h.m4
obstack.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
gl_OBSTACK -
gettext-h
exit
exitfail -
hash-pjw - #include "hash-pjw.h" - hash-pjw.c - --- - --- -
hash - #include "hash.h" - hash.c - hash.m4
gl_HASH -
stdbool
xalloc -
readline - #include "readline.h" - readline.c - readline.m4
gl_FUNC_READLINE -
getline
havelib -
readtokens - #include "readtokens.h" - readtokens.c - readtokens.m4
gl_READTOKENS -
xalloc
stdbool -
readtokens0 - #include "readtokens0.h" - readtokens0.c - --- - obstack
stdbool -
strverscmp - #include "strverscmp.h" - strverscmp.c - strverscmp.m4
gl_FUNC_STRVERSCMP -
--- -
-

Support for systems lacking ISO C 99

-

Sizes of integer types <limits.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
ullong_max - #include <limits.h> - --- - ullong_max.m4
gl_ULLONG_MAX -
--- -
size_max - #include "size_max.h" - --- - size_max.m4
gl_SIZE_MAX -
--- -
-

Variable arguments <stdarg.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
stdarg - #include <stdarg.h> - --- - stdarg.m4
gl_STDARG_H -
--- -
-

Boolean type and values <stdbool.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
stdbool - #include <stdbool.h> - stdbool_.h - stdbool.m4
AM_STDBOOL_H -
--- -
-

Integer types and values <stdint.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
stdint - #include <stdint.h> - stdint_.h - stdint.m4
absolute-header.m4
longlong.m4
gl_STDINT_H -
--- -
-

Input/output <stdio.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
snprintf - #include "snprintf.h" - snprintf.c - snprintf.m4
gl_FUNC_SNPRINTF -
vasnprintf -
vsnprintf - #include "vsnprintf.h" - vsnprintf.c - vsnprintf.m4
gl_FUNC_VSNPRINTF -
vasnprintf
minmax -
-

Numeric conversion functions <stdlib.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
strtoll - #include <stdlib.h> - strtoll.c - longlong.m4
strtoll.m4
gl_FUNC_STRTOLL -
strtol -
strtoull - #include <stdlib.h> - strtoull.c - ulonglong.m4
strtoull.m4
gl_FUNC_STRTOULL -
strtoul -
-

Functions for greatest-width integer types <inttypes.h>

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
strtoimax - --- - strtoimax.c - longlong.m4
stdint_h.m4
inttypes_h.m4
intmax_t.m4
strtoimax.m4
gl_FUNC_STRTOIMAX -
strtoll
verify
inttypes -
strtoumax - --- - strtoumax.c - ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
strtoumax.m4
gl_FUNC_STRTOUMAX -
strtoimax
strtoull
inttypes -
-

Mathematics <math.h>

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
mathl - #include "mathl.h" - acosl.c
asinl.c
atanl.c
ceill.c
cosl.c
expl.c
floorl.c
frexpl.c
ldexpl.c
logl.c
sincosl.c
sinl.c
sqrtl.c
tanl.c
trigl.c
trigl.h -
mathl.m4
gl_FUNC_LONG_DOUBLE_MATH -
--- -
-

Enhancements for ISO C 99 functions

- - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
-

Extra functions based on ISO C 99

-

Numeric conversion functions <stdlib.h>

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
intprops - #include "intprops.h" - --- - --- - --- -
inttostr - #include "inttostr.h" - imaxtostr.c
inttostr.c
offtostr.c
umaxtostr.c -
intmax_t.m4
inttostr.m4
inttypes_h.m4
longlong.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
gl_INTTOSTR -
intprops -
xstrtoimax - #include "xstrtol.h" - xstrtoimax.c - xstrtoimax.m4
gl_XSTRTOIMAX -
xstrtol
strtoimax -
xstrtoumax - #include "xstrtol.h" - xstrtoumax.c - xstrtoumax.m4
gl_XSTRTOUMAX -
xstrtol
strtoumax -
-

Extended multibyte and wide character utilities <wchar.h>

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
mbchar - #if HAVE_WCHAR_H && HAVE_WCTYPE_H
#include "mbchar.h"
#endif -
mbchar.c - mbchar.m4
gl_MBCHAR -
stdbool
wcwidth -
mbiter - #if HAVE_MBRTOWC
#include "mbiter.h"
#endif -
--- - mbiter.m4
mbrtowc.m4
gl_MBITER -
mbchar
stdbool -
mbuiter - #if HAVE_MBRTOWC
#include "mbuiter.h"
#endif -
--- - mbiter.m4
mbrtowc.m4
gl_MBITER -
mbchar
stdbool
strnlen1 -
mbfile - #if HAVE_MBRTOWC
#include "mbfile.h"
#endif -
--- - mbfile.m4
mbrtowc.m4
gl_MBFILE -
mbchar
stdbool -
-

Support for systems lacking POSIX:2001

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
chown - #include <unistd.h> - chown.c
fchown-stub.c -
chown.m4
gl_FUNC_CHOWN -
stat-macros -
dup2 - #include <unistd.h> - dup2.c - dup2.m4
gl_FUNC_DUP2 -
--- -
ftruncate - #include <unistd.h> - ftruncate.c - ftruncate.m4
gl_FUNC_FTRUNCATE -
--- -
getaddrinfo - #include "getaddrinfo.h" - getaddrinfo.c
gai_strerror.c -
getaddrinfo.m4
gl_GETADDRINFO -
gettext-h
snprintf
socklen
stdbool
strdup
sys_socket
inet_ntop -
getcwd - #include "getcwd.h" - getcwd.c - d-ino.m4
getcwd-abort-bug.m4
getcwd-path-max.m4
getcwd.m4
gl_FUNC_GETCWD -
mempcpy
extensions
stdbool -
getgroups - #include <unistd.h> - getgroups.c - getgroups.m4
gl_FUNC_GETGROUPS -
xalloc -
gethostname - --- - gethostname.c - gethostname.m4
gl_FUNC_GETHOSTNAME -
--- -
getlogin_r - #include "getlogin_r.h" - getlogin_r.c - getlogin_r.m4
gl_GETLOGIN_R -
unistd -
getsubopt - #include "getsubopt.h" - getsubopt.c - getsubopt.m4
gl_FUNC_GETSUBOPT -
strchrnul -
gettimeofday - #include <sys/time.h> - gettimeofday.c - gettimeofday.m4
AC_FUNC_GETTIMEOFDAY_CLOBBER -
--- -
inet_ntop - #include "inet_ntop.h" - inet_ntop.c - inet_ntop.m4
gl_INET_NTOP -
socklen
sys_socket
arpa_inet
netinet_in -
inet_pton - #include "inet_pton.h" - inet_pton.c - inet_pton.m4
gl_INET_PTON -
socklen
sys_socket
arpa_inet
netinet_in -
mkdir - #include <sys/stat.h> - mkdir.c - mkdir-slash.m4
gl_FUNC_MKDIR_TRAILING_SLASH -
xalloc
dirname -
mkstemp - #include <stdlib.h> - mkstemp.c
tempname.c -
ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
mkstemp.m4
gl_FUNC_MKSTEMP -
stat-macros
sys_stat -
mkdtemp - #include "mkdtemp.h" - mkdtemp.c - ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
mkdtemp.m4
gt_FUNC_MKDTEMP -
unistd -
poll - #include <poll.h> - poll.c
poll_.h -
poll.m4
gl_FUNC_POLL -
--- -
readlink - --- - readlink.c - readlink.m4
gl_FUNC_READLINK -
--- -
lstat - #include "lstat.h" - lstat.c - lstat.m4
gl_FUNC_LSTAT -
stat-macros -
time_r - #include "time_r.h" - time_r.c - time_r.m4
gl_TIME_R -
extensions -
timespec - #include "timespec.h" - --- - timespec.m4
gl_TIMESPEC -
extensions -
nanosleep - #include <time.h> - nanosleep.c - nanosleep.m4
gl_FUNC_NANOSLEEP -
timespec
stdbool
extensions -
regex - #include "regex.h" - regex.c
regex_internal.c
regex_internal.h
regexec.c
regcomp.c -
codeset.m4
regex.m4
gl_REGEX -
alloca
extensions
gettext-h
malloc
strcase
ssize_t -
rename - #include <stdio.h> - rename.c - rename.m4
vb_FUNC_RENAME -
xalloc
dirname -
rmdir - #include <unistd.h> - rmdir.c - rmdir.m4
gl_FUNC_RMDIR -
stat-macros -
ssize_t - #include <sys/types.h> - --- - ssize_t.m4
gt_TYPE_SSIZE_T -
--- -
strtok_r - #include "strtok_r.h" - strtok_r.c - strtok_r.m4
gl_FUNC_STRTOK_R -
--- -
sys_stat - #include <sys/stat.h> - stat_.h - absolute-header.m4
sys_stat_h.m4
gl_HEADER_SYS_STAT_H -
--- -
unistd - #include <unistd.h> - --- - unistd_h.m4
gl_HEADER_UNISTD -
--- -
utime - #if HAVE_UTIME_H
# include <utime.h>
#else
# include <sys/utime.h>
#endif -
utime.c - utimbuf.m4
utime.m4
utimes.m4
utimes-null.m4
gl_FUNC_UTIME -
safe-read
full-write -
wcwidth - #include "wcwidth.h" - --- - wcwidth.m4
wchar_t.m4
gl_FUNC_WCWIDTH -
--- -
-

Enhancements for POSIX:2001 functions

- - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
dirname - #include "dirname.h" - dirname.c
basename.c
stripslash.c -
dos.m4
dirname.m4
double-slash-root.m4
gl_DIRNAME -
stdbool
xalloc
xstrndup -
getopt - #include <getopt.h> - getopt_.h
getopt.c
getopt1.c
getopt_int.h -
getopt.m4
gl_GETOPT -
gettext-h
unistd -
unistd-safer - #include "unistd-safer.h" - unistd--.h
dup-safer.c
fd-safer.c
pipe-safer.c -
unistd-safer.m4
gl_UNISTD_SAFER -
--- -
fnmatch - #include <fnmatch.h> - fnmatch_.h
fnmatch.c
fnmatch_loop.c -
mbstate_t.m4
fnmatch.m4
# No macro. You should also use one of fnmatch-posix or fnmatch-gnu. -
alloca
stdbool -
fnmatch-posix - #include "fnmatch.h" - --- - gl_FUNC_FNMATCH_POSIX - fnmatch -
fnmatch-gnu - #include "fnmatch.h" - --- - gl_FUNC_FNMATCH_GNU - fnmatch -
glob - #include <glob.h> - glob_.h
glob-libc.h
glob.c -
d-type.m4
glob.m4
gl_GLOB -
alloca
extensions
fnmatch
getlogin_r
mempcpy
stat-macros
stdbool
strdup
unistd -
exclude - #include "exclude.h" - exclude.c - exclude.m4
gl_EXCLUDE -
xalloc
strcase
fnmatch-gnu
stdbool
verify -
-

Extra functions based on POSIX:2001

-

Numeric conversion functions

- - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
human - #include "human.h" - human.c - ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
human.m4
gl_HUMAN -
gettext-h
argmatch
error
intprops
xstrtoumax
stdbool -
-

File system functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
acl - #include "acl.h" - acl.c - acl.m4
AC_FUNC_ACL -
--- -
backupfile - #include "backupfile.h" - backupfile.c - dos.m4
d-ino.m4
backupfile.m4
gl_BACKUPFILE -
argmatch
dirname
stdbool -
canonicalize - #include "canonicalize.h" - canonicalize.c
pathmax.h -
canonicalize.m4
AC_FUNC_CANONICALIZE_FILE_NAME -
cycle-check
filenamecat
stat-macros
xalloc
xgetcwd
xreadlink -
clean-temp - #include "clean-temp.h" - clean-temp.c - --- - stdbool
unistd
error
fatal-signal
pathmax
tmpdir
mkdtemp
xalloc
xallocsa
linkedhash-list
gettext-h -
copy-file - #include "copy-file.h" - copy-file.c - copy-file.m4
gl_COPY_FILE -
error
safe-read
full-write
binary-io
exit
gettext-h
unistd -
cycle-check - #include "cycle-check.h" - cycle-check.c - cycle-check.m4
gl_CYCLE_CHECK -
dev-ino
same-inode
stdbool -
fsusage - #include "fsusage.h" - fsusage.c - ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
fsusage.m4
gl_FSUSAGE -
full-read
stdbool -
dirfd - #include "dirfd.h" - dirfd.c - dirfd.m4
gl_FUNC_DIRFD -
--- -
euidaccess - #include "euidaccess.h" - euidaccess.c - euidaccess.m4
gl_FUNC_EUIDACCESS -
group-member
stat-macros -
file-type - #include "file-type.h" - file-type.c - file-type.m4
gl_FILE_TYPE -
gettext-h
stat-macros -
fileblocks - --- - fileblocks.c - fileblocks.m4
gl_FILEBLOCKS -
--- -
filemode - #include "filemode.h" - filemode.c - filemode.m4
gl_FILEMODE -
stat-macros -
filenamecat - #include "filenamecat.h" - filenamecat.c - dos.m4
filenamecat.m4
gl_FILE_NAME_CONCAT -
xalloc
dirname -
fts - #include "fts_.h" - fts.c
fts-cycle.c -
fts.m4
gl_FUNC_FTS -
cycle-check
dirfd
hash
lstat
openat
stdbool
fcntl-safer
unistd-safer -
fts-lgpl - #include "fts_.h" - fts.c - fts.m4
gl_FUNC_FTS_LGPL -
dirfd
stdbool -
isdir - --- - isdir.c - isdir.m4
gl_ISDIR -
--- -
lchown - #include "lchown.h" - lchown.c - lchown.m4
gl_FUNC_LCHOWN -
chown
stat-macros -
mkancesdirs - #include "mkancesdirs.h" - mkancesdirs.c - mkancesdirs.m4
gl_MKANCESDIRS -
dirname
stat-macros -
mkdir-p - #include "mkdir-p.h" - dirchownmod.c
dirchownmod.h
lchmod.h
mkdir-p.c -
lchmod.m4
mkdir-p.m4
gl_MKDIR_PARENTS -
error
gettext-h
lchown
mkancesdirs
quote
stat-macros
stdbool -
modechange - #include "modechange.h" - modechange.c - modechange.m4
gl_MODECHANGE -
stat-macros
xalloc -
mountlist - #include "mountlist.h" - mountlist.c - ls-mntd-fs.m4
fstypename.m4
mountlist.m4
gl_MOUNTLIST -
stdbool
xalloc -
pathname - #include "pathname.h" - concatpath.c - --- - xalloc
stpcpy -
pathmax - #include "pathmax.h" - --- - pathmax.m4
gl_PATHMAX -
--- -
same - #include "same.h" - same.c - same.m4
gl_SAME -
xalloc
error
dirname
same-inode
stdbool -
save-cwd - #include "save-cwd.h" - save-cwd.c - save-cwd.m4
gl_SAVE_CWD -
chdir-long
fcntl-safer
xgetcwd
stdbool -
savedir - #include "savedir.h" - savedir.c - savedir.m4
gl_SAVEDIR -
openat
xalloc -
stat-time - #include "stat-time.h" - --- - stat-time.m4
gl_STAT_TIME -
timespec -
tmpdir - #include "tmpdir.h" - tmpdir.c - tmpdir.m4
gt_TMPDIR -
stdbool -
unlinkdir - #include "unlinkdir.h" - unlinkdir.c - unlinkdir.m4
gl_UNLINKDIR -
stdbool -
utimecmp - #include "utimecmp.h" - utimecmp.c - utimecmp.m4
gl_UTIMECMP -
hash
stat-time
timespec
utimens
xalloc
intprops
stdbool
verify -
utimens - #include "utimens.h" - utimens.c - utimbuf.m4
utimens.m4
utimes.m4
gl_UTIMENS -
timespec -
xgetcwd - #include "xgetcwd.h" - xgetcwd.c - xgetcwd.m4
gl_XGETCWD -
getcwd
xalloc
stdbool -
xreadlink - #include "xreadlink.h" - xreadlink.c - xreadlink.m4
gl_XREADLINK -
xalloc
readlink
ssize_t -
-

File descriptor based Input/Output

- - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
fcntl-safer - #include "fcntl-safer.h" - fcntl--.h
creat-safer.c
open-safer.c -
fcntl-safer.m4
gl_FCNTL_SAFER -
unistd-safer -
safe-read - #include "safe-read.h" - safe-read.c - safe-read.m4
gl_SAFE_READ -
ssize_t -
safe-write - #include "safe-write.h" - safe-write.c - safe-write.m4
gl_SAFE_WRITE -
safe-read -
full-read - #include "full-read.h" - full-read.c - --- - safe-read
full-write -
full-write - #include "full-write.h" - full-write.c - --- - safe-write -
binary-io - #include "binary-io.h" - --- - --- - --- -
-

File stream based Input/Output

- - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
close-stream - #include "close-stream.h" - close-stream.c - close-stream.m4
gl_CLOSE_STREAM -
fpending
stdbool -
closeout - #include "closeout.h" - closeout.c - closeout.m4
gl_CLOSEOUT -
close-stream
gettext-h
error
quotearg
exitfail -
fopen-safer - #include "stdio-safer.h" - stdio--.h
fopen-safer.c -
stdio-safer.m4
gl_FOPEN_SAFER -
unistd-safer -
fpending - #include "__fpending.h" - __fpending.c - fpending.m4
gl_FUNC_FPENDING -
--- -
getpass - #include "getpass.h" - getpass.c - getpass.m4
gl_FUNC_GETPASS -
getline
stdbool -
getpass-gnu - #include "getpass.h" - getpass.c - getpass.m4
gl_FUNC_GETPASS_GNU -
getline
stdbool -
stdlib-safer - #include "stdlib-safer.h" - stdlib--.h
mkstemp-safer.c -
stdlib-safer.m4
gl_STDLIB_SAFER -
mkstemp
unistd-safer -
tmpfile-safer - #include "stdio-safer.h" - stdio--.h
tmpfile-safer.c -
stdio-safer.m4
gl_TMPFILE_SAFER -
binary-io
unistd-safer -
-

Users and groups

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
getugroups - --- - getugroups.c - getugroups.m4
gl_GETUGROUPS -
--- -
group-member - #include "group-member.h" - group-member.c - group-member.m4
gl_FUNC_GROUP_MEMBER -
xalloc
stdbool -
idcache - --- - idcache.c - idcache.m4
gl_IDCACHE -
xalloc -
userspec - #include "userspec.h" - inttostr.h
userspec.c -
userspec.m4
gl_USERSPEC -
posixver
xalloc
xstrtol
strdup
gettext-h
intprops
stdbool -
-

Date and time

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
gettime - #include "timespec.h" - gettime.c - clock_time.m4
gettime.m4
gl_GETTIME -
gettimeofday
timespec
extensions -
settime - --- - settime.c - clock_time.m4
settime.m4
gl_SETTIME -
timespec
extensions -
posixtm - #include "posixtm.h" - posixtm.c - posixtm.m4
gl_POSIXTM -
mktime
stdbool -
xnanosleep - #include "xnanosleep.h" - xnanosleep.c - xnanosleep.m4
gl_XNANOSLEEP -
timespec
intprops
stdbool -
-

Networking functions

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
xgethostname - #include "xgethostname.h" - xgethostname.c - --- - gethostname
xalloc -
canon-host - #include "canon-host.h" - canon-host.c - canon-host.m4
gl_CANON_HOST -
getaddrinfo
strdup -
-

Multithreading

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
lock - #include "lock.h" - lock.c - lock.m4
gl_LOCK -
havelib -
tls - #include "tls.h" - tls.c - tls.m4
gl_TLS -
lock -
-

Internationalization functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
gettext - #include "gettext.h" - --- - codeset.m4
gettext.m4
glibc2.m4
glibc21.m4
iconv.m4
intdiv0.m4
intmax.m4
inttypes_h.m4
inttypes-h.m4
inttypes-pri.m4
lcmessage.m4
lock.m4
longdouble.m4
longlong.m4
nls.m4
po.m4
printf-posix.m4
progtest.m4
signed.m4
size_max.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
visibility.m4
wchar_t.m4
wint_t.m4
xsize.m4
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.15]) -
gettext-h
havelib -
gettext-h - #include "gettext.h" - --- - --- - --- -
iconv - #include <iconv.h> - --- - iconv.m4
AM_ICONV -
havelib -
iconvme - #include "iconvme.h" - iconvme.c - iconvme.m4
gl_ICONVME -
iconv
strdup -
localcharset - #include "localcharset.h" - localcharset.c
config.charset
ref-add.sin
ref-del.sin -
codeset.m4
glibc21.m4
localcharset.m4
gl_LOCALCHARSET -
--- -
hard-locale - #include "hard-locale.h" - hard-locale.c - hard-locale.m4
gl_HARD_LOCALE -
stdbool
strdup -
mbswidth - #include "mbswidth.h" - mbswidth.c - mbstate_t.m4
mbrtowc.m4
mbswidth.m4
gl_MBSWIDTH -
wcwidth -
memcasecmp - #include "memcasecmp.h" - memcasecmp.c - memcasecmp.m4
gl_MEMCASECMP -
--- -
memcoll - #include "memcoll.h" - memcoll.c - memcoll.m4
gl_MEMCOLL -
--- -
xmemcoll - #include "xmemcoll.h" - xmemcoll.c - --- - memcoll
gettext-h
error
quotearg
exitfail -
unicodeio - #include "unicodeio.h" - unicodeio.c - unicodeio.m4
gl_UNICODEIO -
iconv
gettext-h
localcharset
error -
rpmatch - --- - rpmatch.c - rpmatch.m4
gl_FUNC_RPMATCH -
gettext-h
regex -
yesno - #include "yesno.h" - yesno.c - yesno.m4
gl_YESNO -
getline
rpmatch
stdbool -
ucs4-utf8 - --- - ucs4-utf8.h - ucs4-utf.m4
gl_UCS4_UTF -
--- -
ucs4-utf16 - --- - ucs4-utf16.h - ucs4-utf.m4
gl_UCS4_UTF -
--- -
utf8-ucs4 - --- - utf8-ucs4.h - utf-ucs4.m4
gl_UTF_UCS4 -
--- -
utf16-ucs4 - --- - utf16-ucs4.h - utf-ucs4.m4
gl_UTF_UCS4 -
--- -
linebreak - #include "linebreak.h" - linebreak.c
lbrkprop.h -
linebreak.m4
gl_LINEBREAK -
localcharset
c-ctype
iconv
utf8-ucs4
utf16-ucs4
xsize -
bison-i18n - --- - --- - bison-i18n.m4
BISON_I18N -
--- -
-

Executing programs

- - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
cloexec - #include "cloexec.h" - cloexec.c - cloexec.m4
gl_CLOEXEC -
stdbool -
findprog - #include "findprog.h" - findprog.c - findprog.m4
eaccess.m4
gl_FINDPROG -
stdbool
xalloc
pathname
unistd -
wait-process - #include "wait-process.h" - wait-process.c - wait-process.m4
sig_atomic_t.m4
gl_WAIT_PROCESS -
fatal-signal
error
exit
xalloc
gettext-h
stdbool
unistd -
execute - #include "execute.h" - execute.c
w32spawn.h -
execute.m4
gl_EXECUTE -
error
exit
fatal-signal
wait-process
gettext-h
stdbool
strpbrk
unistd -
pipe - #include "pipe.h" - pipe.c
w32spawn.h -
pipe.m4
gl_PIPE -
wait-process
error
exit
fatal-signal
gettext-h
stdbool
strpbrk
unistd -
sh-quote - #include "sh-quote.h" - sh-quote.c - --- - quotearg
xalloc -
-

Java

- - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
classpath - #include "classpath.h" - classpath.c - --- - stdbool
xsetenv
xalloc -
javacomp - #include "javacomp.h" - javacomp.c - --- - stdbool
unistd
javaversion
execute
pipe
wait-process
classpath
xsetenv
sh-quote
binary-io
safe-read
xalloc
xallocsa
getline
pathname
fwriteerror
clean-temp
error
xvasprintf
strstr
gettext-h
javacomp-script -
javaexec - #include "javaexec.h" - javaexec.c - javaexec.m4
# You need to invoke gt_JAVAEXEC yourself, possibly with arguments.
AC_CONFIG_FILES([javaexec.sh:build-aux/javaexec.sh.in]) -
stdbool
execute
classpath
xsetenv
sh-quote
pathname
xalloc
xallocsa
error
gettext-h -
javaversion - #include "javaversion.h" - javaversion.c
javaversion.java
javaversion.class -
--- - javaexec
stdbool
pipe
wait-process
getline
gettext-h -
-

C#

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
csharpcomp - #include "csharpcomp.h" - csharpcomp.c - --- - stdbool
xallocsa
execute
pipe
wait-process
getline
sh-quote
safe-read
error
gettext-h
csharpcomp-script -
csharpexec - #include "csharpexec.h" - csharpexec.c
classpath.h
classpath.c -
csharpexec.m4
csharp.m4
# You need to invoke gt_CSHARPEXEC yourself, possibly with arguments.
AC_CONFIG_FILES([csharpexec.sh:build-aux/csharpexec.sh.in]) -
stdbool
execute
xsetenv
sh-quote
xalloc
xallocsa
error
gettext-h -
-

Misc

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
argp - #include "argp.h" - argp-ba.c
argp-eexst.c
argp-fmtstream.c
argp-fmtstream.h
argp-fs-xinl.c
argp-help.c
argp-namefrob.h
argp-parse.c
argp-pin.c
argp-pv.c
argp-pvh.c
argp-xinl.c -
argp.m4
gl_ARGP -
alloca
dirname
getopt
strchrnul
sysexits
mempcpy
strndup
strcase
extensions
vsnprintf -
argz - #include <argz.h> - argz_.h
argz.c -
argz.m4
gl_FUNC_ARGZ -
--- -
byteswap - #include <byteswap.h> - byteswap_.h - byteswap.m4
gl_BYTESWAP -
--- -
exitfail - #include "exitfail.h" - exitfail.c - exitfail.m4
gl_EXITFAIL -
exit -
c-stack - #include "c-stack.h" - c-stack.c - c-stack.m4
gl_C_STACK -
gettext-h
exitfail
unistd -
error - #include "error.h" - error.c - error.m4
strerror_r.m4
gl_ERROR -
--- -
extensions - --- - --- - extensions.m4
dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. -
--- -
getdomainname - #include "getdomainname.h" - getdomainname.c - getdomainname.m4
gl_FUNC_GETDOMAINNAME -
--- -
xgetdomainname - #include "xgetdomainname.h" - xgetdomainname.c - --- - getdomainname
xalloc -
getloadavg - --- - getloadavg.c - AC_FUNC_GETLOADAVG - cloexec
xalloc
c-strtod
intprops
stdbool
fcntl-safer -
getpagesize - #include "getpagesize.h" - --- - getpagesize.m4
gl_GETPAGESIZE -
--- -
getusershell - --- - getusershell.c - getusershell.m4
gl_FUNC_GETUSERSHELL -
fopen-safer
xalloc -
physmem - #include "physmem.h" - physmem.c - physmem.m4
gl_PHYSMEM -
--- -
posixver - #include "posixver.h" - posixver.c - posixver.m4
gl_POSIXVER -
--- -
progname - #include "progname.h" - progname.c - --- - --- -
quotearg - #include "quotearg.h" - quotearg.c - mbstate_t.m4
mbrtowc.m4
quotearg.m4
gl_QUOTEARG -
xalloc
gettext-h
stdbool -
quote - #include "quote.h" - quote.c - quote.m4
gl_QUOTE -
quotearg -
readutmp - #include "readutmp.h" - readutmp.c - readutmp.m4
gl_READUTMP -
xalloc
free
stdbool -
sig2str - #include "sig2str.h" - sig2str.c - sig2str.m4
gl_FUNC_SIG2STR -
intprops -
sysexits - #include <sysexits.h> - sysexit_.h - sysexits.m4
gl_SYSEXITS -
--- -
verror - #include "verror.h" - verror.c - --- - error
xvasprintf -
visibility - --- - --- - visibility.m4
gl_VISIBILITY -
--- -
-

Support for building libraries and executables

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
ldd - --- - --- - ldd.m4
gl_LDD
AC_CONFIG_FILES([ldd.sh:build-aux/ldd.sh.in]) -
--- -
lib-ignore - --- - --- - lib-ignore.m4
gl_IGNORE_UNUSED_LIBRARIES -
--- -
-

Support for building documentation

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
fdl - --- - --- - --- - --- -
gendocs - --- - --- - --- - --- -
-

Unclassified modules - please update MODULES.html.sh

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
arcfour - #include "arcfour.h" - arcfour.c - arcfour.m4
gl_ARCFOUR -
stdint -
arctwo - #include "arctwo.h" - arctwo.c - arctwo.m4
gl_ARCTWO -
stdint -
arpa_inet - #include <arpa/inet.h> - --- - arpa_inet_h.m4
gl_HEADER_ARPA_INET -
sys_socket -
chdir-long - #include "chdir-long.h" - chdir-long.c - chdir-long.m4
gl_FUNC_CHDIR_LONG -
openat
mempcpy
memrchr
stdbool -
chdir-safer - #include "chdir-safer.h" - chdir-safer.c - chdir-safer.m4
gl_CHDIR_SAFER -
same-inode
stdbool -
crc - #include "crc.h" - crc.c - crc.m4
gl_CRC -
stdint -
csharpcomp-script - --- - --- - csharpcomp.m4
csharp.m4
AC_REQUIRE([gt_CSHARPCOMP])
AC_CONFIG_FILES([csharpcomp.sh:build-aux/csharpcomp.sh.in]) -
--- -
des - #include "des.h" - des.c - des.m4
gl_DES -
stdint
stdbool -
dev-ino - #include "dev-ino.h" - --- - dev-ino.m4
gl_STRUCT_DEV_INO -
--- -
gc - #include "gc.h" - gc-libgcrypt.c
gc-gnulib.c -
gc.m4
gl_GC -
havelib -
gc-arcfour - #include "gc.h" - arcfour.h
arcfour.c -
gc-arcfour.m4
arcfour.m4
gl_GC_ARCFOUR -
stdint
gc -
gc-arctwo - #include "gc.h" - arctwo.h
arctwo.c -
gc-arctwo.m4
arctwo.m4
gl_GC_ARCTWO -
stdint
gc -
gc-des - #include "gc.h" - des.h
des.c -
gc-des.m4
des.m4
gl_GC_DES -
stdint
gc -
gc-hmac-md5 - #include "gc.h" - md5.h
md5.c
hmac.h
hmac-md5.c
memxor.h
memxor.c -
gc-hmac-md5.m4
md5.m4
hmac-md5.m4
memxor.m4
gl_GC_HMAC_MD5 -
stdint
gc -
gc-hmac-sha1 - #include "gc.h" - sha1.h
sha1.c
hmac.h
hmac-sha1.c
memxor.h
memxor.c -
gc-hmac-sha1.m4
sha1.m4
hmac-sha1.m4
memxor.m4
gl_GC_HMAC_SHA1 -
stdint
gc -
gc-md2 - #include "gc.h" - --- - gc-md2.m4
gl_GC_MD2 -
stdint
gc
minmax
md2 -
gc-md4 - #include "gc.h" - md4.h
md4.c -
gc-md4.m4
md4.m4
gl_GC_MD4 -
stdint
gc -
gc-md5 - #include "gc.h" - md5.h
md5.c -
gc-md5.m4
md5.m4
gl_GC_MD5 -
stdint
gc -
gc-pbkdf2-sha1 - #include "gc.h" - gc-pbkdf2-sha1.c - gc-pbkdf2-sha1.m4
gl_GC_PBKDF2_SHA1 -
gc
gc-hmac-sha1 -
gc-random - #include "gc.h" - --- - gc-random.m4
gl_GC_RANDOM -
gc -
gc-rijndael - #include "gc.h" - rijndael-alg-fst.c
rijndael-alg-fst.h
rijndael-api-fst.c
rijndael-api-fst.h -
gc-rijndael.m4
rijndael.m4
gl_GC_RIJNDAEL -
stdint
gc -
gc-sha1 - #include "gc.h" - sha1.h
sha1.c -
gc-sha1.m4
sha1.m4
gl_GC_SHA1 -
stdint
gc -
gethrxtime - #include "xtime.h" - gethrxtime.c
gethrxtime.h -
gethrxtime.m4
clock_time.m4
longlong.m4
gl_GETHRXTIME -
gettime
extensions -
havelib - --- - --- - lib-ld.m4
lib-link.m4
lib-prefix.m4 -
--- -
hmac-md5 - #include "hmac.h" - hmac-md5.c - hmac-md5.m4
gl_HMAC_MD5 -
memxor
md5 -
hmac-sha1 - #include "hmac.h" - hmac-sha1.c - hmac-sha1.m4
gl_HMAC_SHA1 -
memxor
sha1 -
inttypes - #include <inttypes.h> - inttypes.h - include_next.m4
absolute-header.m4
_inttypes_h.m4
gl_INTTYPES_H -
--- -
javacomp-script - --- - --- - javacomp.m4
# You need to invoke gt_JAVACOMP yourself, possibly with arguments.
AC_CONFIG_FILES([javacomp.sh:build-aux/javacomp.sh.in]) -
--- -
maintainer-makefile - --- - --- - --- - --- -
md2 - #include "md2.h" - md2.c - md2.m4
gl_MD2 -
minmax -
md4 - #include "md4.h" - md4.c - md4.m4
gl_MD4 -
stdint -
memxor - #include "memxor.h" - memxor.c - memxor.m4
gl_MEMXOR -
--- -
netinet_in - #include <netinet/in.h> - --- - netinet_in_h.m4
gl_HEADER_NETINET_IN -
sys_socket -
openat - #include "openat.h" - at-func.c
fchmodat.c
mkdirat.c
openat.c
openat-die.c
openat-priv.h -
openat.m4
gl_FUNC_OPENAT -
save-cwd
gettext-h
dirname
extensions
intprops -
read-file - #include "read-file.h" - read-file.c - read-file.m4
gl_FUNC_READ_FILE -
--- -
rijndael - #include "rijndael-alg-fst.h"
#include "rijndael-api-fst.h" -
rijndael-alg-fst.c
rijndael-alg-fst.h
rijndael-api-fst.c
rijndael-api-fst.h -
rijndael.m4
gl_RIJNDAEL -
stdint -
same-inode - #include "same-inode.h" - --- - same-inode.m4
gl_SAME_INODE -
--- -
socklen - #include <sys/types.h>
#include <sys/socket.h> -
--- - socklen.m4
gl_TYPE_SOCKLEN_T -
sys_socket -
stat-macros - #include "stat-macros.h" - --- - stat-macros.m4
gl_STAT_MACROS -
--- -
sys_select - #include <sys/select.h> - --- - sys_select_h.m4
gl_HEADER_SYS_SELECT -
sys_socket -
sys_socket - #include <sys/types.h>
#include <sys/socket.h> -
socket_.h - sys_socket_h.m4
sockpfaf.m4
gl_HEADER_SYS_SOCKET -
--- -
-

Lone files - please create new modules containing them

-
+    
+    
+      progname
+      Program name management.
+    
+    
+      quotearg
+      Quote arguments for use in error messages.
+    
+    
+      quote
+      Quote arguments for use in error messages.
+    
+    
+      readutmp
+      Read entire utmp file into memory.
+    
+    
+      sig2str
+      Convert between signal names and signal numbers.
+    
+    
+      sysexits
+      Exit status codes for some BSD system programs.
+    
+    
+      verror
+      verror() and verror_at_line() functions: Error reporting with va_list.
+    
+    
+      visibility
+      Control of symbols exported by shared libraries.
+    
+  
+  

Support for building libraries and executables

+ + + + + + + +
dummy + A dummy file, to make sure the library is non-empty. +
ldd + Command to determine the dynamically linked dependencies of a program. +
lib-ignore + If possible, ignore libraries that are not depended on. +
+

Support for building documentation

+ + + + + +
fdl + Provide the Free Documentation License. +
gendocs + Generate manuals in several formats from Texinfo sources, +
+

Misc

+ + + + + + + +
host-os + Define HOST_OPERATING_SYSTEM to a name for the host operating system. +
perl + Find a new-enough version of Perl. +
uptime + Test whether /proc/uptime might exist. +
+

Support for systems lacking ANSI C 89

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
exit + #include "exit.h" + --- + --- + --- +
atexit + #include <stdlib.h> + atexit.c + atexit.m4
gl_FUNC_ATEXIT +
--- +
strtod + #include <stdlib.h> + strtod.c + strtod.m4
gl_FUNC_STRTOD +
--- +
strtol + #include <stdlib.h> + strtol.c + strtol.m4
gl_FUNC_STRTOL +
--- +
strtoul + #include <stdlib.h> + strtoul.c + strtoul.m4
gl_FUNC_STRTOUL +
strtol +
memchr + #include <string.h> + memchr.c + memchr.m4
gl_FUNC_MEMCHR +
--- +
memcmp + #include <string.h> + memcmp.c + memcmp.m4
gl_FUNC_MEMCMP +
--- +
memcpy + #include <string.h> + memcpy.c + memcpy.m4
gl_FUNC_MEMCPY +
--- +
memmove + #include <string.h> + memmove.c + memmove.m4
gl_FUNC_MEMMOVE +
--- +
memset + #include <string.h> + memset.c + memset.m4
gl_FUNC_MEMSET +
--- +
strcspn + #include <string.h> + strcspn.c + strcspn.m4
gl_FUNC_STRCSPN +
--- +
strpbrk + #include "strpbrk.h" + strpbrk.c + strpbrk.m4
gl_FUNC_STRPBRK +
--- +
strstr + #include "strstr.h" + strstr.c + strstr.m4
mbrtowc.m4
gl_FUNC_STRSTR +
mbuiter +
strerror + #include <string.h> + strerror.c + strerror.m4
gl_FUNC_STRERROR +
--- +
mktime + #include <time.h> + mktime.c + mktime.m4
gl_FUNC_MKTIME +
time_r +
+ Most of these modules are not listed among dependencies below, for simplicity. +

Enhancements for ANSI C 89 functions

+

Diagnostics <assert.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
assert + #include <assert.h> + --- + assert.m4
gl_ASSERT +
--- +
verify + #include "verify.h" + --- + --- + --- +
+

Memory management functions <stdlib.h>

+ + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
calloc + #include <stdlib.h> + calloc.c + calloc.m4
AC_FUNC_CALLOC +
--- +
eealloc + #include <eealloc.h> + eealloc.h + eealloc.m4
gl_EEALLOC +
--- +
free + #include <stdlib.h> + free.c + free.m4
gl_FUNC_FREE +
--- +
malloc + #include <stdlib.h> + malloc.c + AC_FUNC_MALLOC + --- +
realloc + #include <stdlib.h> + realloc.c + AC_FUNC_REALLOC + --- +
pagealign_alloc + #include "pagealign_alloc.h" + pagealign_alloc.c + mmap-anon.m4
pagealign_alloc.m4
gl_PAGEALIGN_ALLOC +
error
exit
getpagesize
gettext-h
xalloc
unistd +
+

Date and time <time.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
fprintftime + #include "fprintftime.h" + fprintftime.c + fprintftime.m4
gl_FPRINTFTIME +
strftime +
strftime + #include "strftime.h" + strftime.c + mbstate_t.m4
tm_gmtoff.m4
strftime.m4
gl_FUNC_GNU_STRFTIME +
time_r
stdbool +
+

Extra functions based on ANSI C 89

+

Memory management functions <stdlib.h>

+ + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
xsize + #include "xsize.h" + --- + xsize.m4
gl_XSIZE +
size_max +
xalloc + #include "xalloc.h" + xmalloc.c + xalloc.m4
gl_XALLOC +
xalloc-die +
xalloc-die + #include "xalloc.h" + xalloc-die.c + --- + xalloc
error
gettext-h
exitfail +
alloca + #include <alloca.h> + alloca.c + --- + alloca-opt +
alloca-opt + #include <alloca.h> + alloca_.h + alloca.m4
gl_FUNC_ALLOCA +
--- +
allocsa + #include "allocsa.h" + allocsa.c
allocsa.valgrind +
allocsa.m4
eealloc.m4
longlong.m4
longdouble.m4
gl_ALLOCSA +
alloca-opt +
xallocsa + #include "xallocsa.h" + xallocsa.c + --- + allocsa
xalloc +
+

Integer arithmetic functions <stdlib.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
gcd + #include "gcd.h" + gcd.c + --- + --- +
minmax + #include "minmax.h" + --- + minmax.m4
gl_MINMAX +
--- +
+

Environment variables <stdlib.h>

+ + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
putenv + --- + putenv.c + putenv.m4
gl_FUNC_PUTENV +
--- +
setenv + #include "setenv.h" + setenv.c
unsetenv.c +
setenv.m4
gt_FUNC_SETENV +
allocsa
alloca-opt
unistd +
xsetenv + #include "xsetenv.h" + xsetenv.c + --- + setenv
error
exit
gettext-h +
+

Character handling <ctype.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
c-ctype + #include "c-ctype.h" + c-ctype.c + --- + stdbool +
+

String handling <string.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
bcopy + --- + bcopy.c + AC_REPLACE_FUNCS(bcopy) + --- +
memmem + #include "memmem.h" + memmem.c + memmem.m4
gl_FUNC_MEMMEM +
--- +
mempcpy + #include "mempcpy.h" + mempcpy.c + mempcpy.m4
gl_FUNC_MEMPCPY +
--- +
memrchr + #include "memrchr.h" + memrchr.c + memrchr.m4
gl_FUNC_MEMRCHR +
--- +
stpcpy + #include "stpcpy.h" + stpcpy.c + stpcpy.m4
gl_FUNC_STPCPY +
--- +
stpncpy + #include "stpncpy.h" + stpncpy.c + stpncpy.m4
gl_FUNC_STPNCPY +
--- +
c-strcase + #include "c-strcase.h" + c-strcasecmp.c
c-strncasecmp.c +
--- + c-ctype +
strcase + #include "strcase.h" + strcasecmp.c
strncasecmp.c +
strcase.m4
mbrtowc.m4
gl_STRCASE +
mbuiter +
c-strcasestr + #include "c-strcasestr.h" + c-strcasestr.c + --- + c-ctype +
strcasestr + #include "strcasestr.h" + strcasestr.c + strcasestr.m4
mbrtowc.m4
gl_FUNC_STRCASESTR +
mbuiter +
strchrnul + #include "strchrnul.h" + strchrnul.c + strchrnul.m4
gl_FUNC_STRCHRNUL +
--- +
strdup + #include "strdup.h" + strdup.c + strdup.m4
gl_FUNC_STRDUP +
--- +
strnlen + #include "strnlen.h" + strnlen.c + strnlen.m4
gl_FUNC_STRNLEN +
--- +
strnlen1 + #include "strnlen1.h" + strnlen1.c + --- + memchr +
strndup + #include "strndup.h" + strndup.c + strndup.m4
gl_FUNC_STRNDUP +
strnlen +
strsep + #include "strsep.h" + strsep.c + strsep.m4
gl_FUNC_STRSEP +
strpbrk +
xstrndup + #include "xstrndup.h" + xstrndup.c + xstrndup.m4
gl_XSTRNDUP +
strndup
xalloc +
+

Numeric conversion functions <stdlib.h>

+ + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
c-strtod + #include "c-strtod.h" + c-strtod.c + c-strtod.m4
gl_C_STRTOD +
extensions
xalloc +
c-strtold + #include "c-strtod.h" + c-strtod.c
c-strtold.c +
c-strtod.m4
gl_C_STRTOLD +
extensions
xalloc +
xstrtod + #include "xstrtod.h" + xstrtod.c + xstrtod.m4
gl_XSTRTOD +
stdbool +
xstrtol + #include "xstrtol.h" + xstrtol.c
xstrtoul.c +
xstrtol.m4
gl_XSTRTOL +
exitfail
error
intprops
inttypes +
xstrtold + #include "xstrtod.h" + xstrtod.c
xstrtold.c +
xstrtod.m4
gl_XSTRTOLD +
stdbool +
+

Date and time <time.h>

+ + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
getdate + #include "getdate.h" + getdate.y + bison.m4
tm_gmtoff.m4
getdate.m4
gl_GETDATE +
timespec
stdbool
gettime
mktime
setenv
xalloc +
timegm + #include "timegm.h" + timegm.c + timegm.m4
gl_FUNC_TIMEGM +
mktime
time_r +
tzset + #include <time.h> + --- + tzset.m4
gl_FUNC_TZSET_CLOBBER +
gettimeofday +
+

Input/Output <stdio.h>

+ + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
unlocked-io + #include "unlocked-io.h" + --- + unlocked-io.m4
gl_FUNC_GLIBC_UNLOCKED_IO +
extensions +
fwriteerror + #include "fwriteerror.h" + fwriteerror.c + --- + stdbool +
vasnprintf + #include "vasnprintf.h" + printf-args.h
printf-args.c
printf-parse.h
printf-parse.c
vasnprintf.c
asnprintf.c +
signed.m4
longdouble.m4
wchar_t.m4
wint_t.m4
longlong.m4
intmax_t.m4
stdint_h.m4
inttypes_h.m4
eoverflow.m4
vasnprintf.m4
gl_FUNC_VASNPRINTF +
alloca-opt
xsize +
vasprintf + #include "vasprintf.h" + vasprintf.c
asprintf.c +
vasprintf.m4
gl_FUNC_VASPRINTF +
vasnprintf +
xvasprintf + #include "xvasprintf.h" + xvasprintf.c
xasprintf.c
xalloc.h +
xvasprintf.m4
gl_XVASPRINTF +
vasprintf
xalloc-die
xsize
stdarg +
+

Signal handling <signal.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
fatal-signal + #include "fatal-signal.h" + fatal-signal.c + fatal-signal.m4
signalblocking.m4
sig_atomic_t.m4
gl_FATAL_SIGNAL +
xalloc
stdbool
unistd +
raise + --- + raise.c + AC_REPLACE_FUNCS(raise) + --- +
+

Command-line arguments

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
argmatch + #include "argmatch.h" + argmatch.c + --- + gettext-h
error
quotearg
quote
exit
exitfail
verify
stdbool +
version-etc + #include "version-etc.h" + version-etc.c + --- + gettext-h
stdarg +
version-etc-fsf + --- + version-etc-fsf.c + --- + version-etc +
long-options + #include "long-options.h" + long-options.c + long-options.m4
gl_LONG_OPTIONS +
version-etc +
+

Container data structures

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
list + #include "gl_list.h" + gl_list.c + gl_list.m4
gl_LIST +
stdbool +
array-list + #include "gl_array_list.h" + gl_array_list.c + --- + list
xalloc
xsize +
carray-list + #include "gl_carray_list.h" + gl_carray_list.c + --- + list
xalloc
xsize +
linked-list + #include "gl_linked_list.h" + gl_linked_list.c
gl_anylinked_list1.h
gl_anylinked_list2.h +
--- + list
xalloc +
avltree-list + #include "gl_avltree_list.h" + gl_avltree_list.c
gl_anyavltree_list1.h
gl_anyavltree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h +
--- + list
xalloc +
rbtree-list + #include "gl_rbtree_list.h" + gl_rbtree_list.c
gl_anyrbtree_list1.h
gl_anyrbtree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h +
--- + list
xalloc +
linkedhash-list + #include "gl_linkedhash_list.h" + gl_linkedhash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anylinked_list1.h
gl_anylinked_list2.h +
--- + list
size_max
xalloc
xsize +
avltreehash-list + #include "gl_avltreehash_list.h" + gl_avltreehash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anyavltree_list1.h
gl_anyavltree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h
gl_anytreehash_list1.h
gl_anytreehash_list2.h +
--- + list
avltree-oset
size_max
xalloc
xsize +
rbtreehash-list + #include "gl_rbtreehash_list.h" + gl_rbtreehash_list.c
gl_anyhash_list1.h
gl_anyhash_list2.h
gl_anyrbtree_list1.h
gl_anyrbtree_list2.h
gl_anytree_list1.h
gl_anytree_list2.h
gl_anytreehash_list1.h
gl_anytreehash_list2.h +
--- + list
rbtree-oset
size_max
xalloc
xsize +
oset + #include "gl_oset.h" + gl_oset.c + gl_list.m4
gl_LIST +
stdbool +
array-oset + #include "gl_array_oset.h" + gl_array_oset.c + --- + oset
xalloc
xsize +
avltree-oset + #include "gl_avltree_oset.h" + gl_avltree_oset.c
gl_anytree_oset.h +
--- + oset
xalloc +
rbtree-oset + #include "gl_rbtree_oset.h" + gl_rbtree_oset.c
gl_anytree_oset.h +
--- + oset
xalloc +
+

Cryptographic computations

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
md5 + #include "md5.h" + md5.c + md5.m4
gl_MD5 +
stdint +
sha1 + #include "sha1.h" + sha1.c + sha1.m4
gl_SHA1 +
stdint +
+

Misc

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
base64 + #include "base64.h" + base64.c + base64.m4
gl_FUNC_BASE64 +
stdbool +
check-version + #include "check-version.h" + check-version.c + check-version.m4
gl_CHECK_VERSION +
strverscmp +
diacrit + #include "diacrit.h" + diacrit.c + --- + --- +
getline + #include "getline.h" + getline.c + getline.m4
gl_FUNC_GETLINE +
getdelim +
getdelim + #include "getdelim.h" + getdelim.c + getdelim.m4
gl_FUNC_GETDELIM +
--- +
getnline + #include "getnline.h" + getnline.c + getnline.m4
gl_GETNLINE +
getndelim2
ssize_t +
getndelim2 + #include "getndelim2.h" + getndelim2.c + getndelim2.m4
gl_GETNDELIM2 +
ssize_t
stdint +
linebuffer + #include "linebuffer.h" + linebuffer.c + --- + xalloc +
obstack + #include "obstack.h" + obstack.c + AC_FUNC_OBSTACK
dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). +
gettext-h
exit
exitfail
stdint +
hash-pjw + #include "hash-pjw.h" + hash-pjw.c + --- + --- +
hash + #include "hash.h" + hash.c + hash.m4
gl_HASH +
stdbool
xalloc +
readline + #include "readline.h" + readline.c + readline.m4
gl_FUNC_READLINE +
getline
havelib +
readtokens + #include "readtokens.h" + readtokens.c + readtokens.m4
gl_READTOKENS +
xalloc
stdbool +
readtokens0 + #include "readtokens0.h" + readtokens0.c + --- + obstack
stdbool +
strverscmp + #include "strverscmp.h" + strverscmp.c + strverscmp.m4
gl_FUNC_STRVERSCMP +
--- +
+

Support for systems lacking ISO C 99

+

Sizes of integer types <limits.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
size_max + #include "size_max.h" + --- + size_max.m4
gl_SIZE_MAX +
--- +
+

Variable arguments <stdarg.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
stdarg + #include <stdarg.h> + --- + stdarg.m4
gl_STDARG_H +
--- +
+

Boolean type and values <stdbool.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
stdbool + #include <stdbool.h> + stdbool_.h + stdbool.m4
AM_STDBOOL_H +
--- +
+

Integer types and values <stdint.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
stdint + #include <stdint.h> + stdint_.h + stdint.m4
absolute-header.m4
longlong.m4
gl_STDINT_H +
--- +
+

Input/output <stdio.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
snprintf + #include "snprintf.h" + snprintf.c + snprintf.m4
gl_FUNC_SNPRINTF +
vasnprintf +
vsnprintf + #include "vsnprintf.h" + vsnprintf.c + vsnprintf.m4
gl_FUNC_VSNPRINTF +
vasnprintf
minmax +
+

Numeric conversion functions <stdlib.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
strtoll + #include <stdlib.h> + strtoll.c + longlong.m4
strtoll.m4
gl_FUNC_STRTOLL +
strtol +
strtoull + #include <stdlib.h> + strtoull.c + ulonglong.m4
strtoull.m4
gl_FUNC_STRTOULL +
strtoul +
+

Functions for greatest-width integer types <inttypes.h>

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
strtoimax + --- + strtoimax.c + longlong.m4
strtoimax.m4
gl_FUNC_STRTOIMAX +
strtoll
verify
inttypes
stdint +
strtoumax + --- + strtoumax.c + ulonglong.m4
strtoumax.m4
gl_FUNC_STRTOUMAX +
strtoimax
strtoull
inttypes
stdint +
+

Mathematics <math.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
mathl + #include "mathl.h" + acosl.c
asinl.c
atanl.c
ceill.c
cosl.c
expl.c
floorl.c
frexpl.c
ldexpl.c
logl.c
sincosl.c
sinl.c
sqrtl.c
tanl.c
trigl.c
trigl.h +
mathl.m4
gl_FUNC_LONG_DOUBLE_MATH +
--- +
+

Enhancements for ISO C 99 functions

+ + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
+

Extra functions based on ISO C 99

+

Numeric conversion functions <stdlib.h>

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
intprops + #include "intprops.h" + --- + --- + --- +
inttostr + #include "inttostr.h" + imaxtostr.c
inttostr.c
offtostr.c
umaxtostr.c +
inttostr.m4
gl_INTTOSTR +
intprops
stdint +
xstrtoimax + #include "xstrtol.h" + xstrtoimax.c + --- + xstrtol
strtoimax +
xstrtoumax + #include "xstrtol.h" + xstrtoumax.c + --- + xstrtol
strtoumax +
+

Extended multibyte and wide character utilities <wchar.h>

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
mbchar + #if HAVE_WCHAR_H && HAVE_WCTYPE_H
#include "mbchar.h"
#endif +
mbchar.c + mbchar.m4
gl_MBCHAR +
stdbool
wcwidth +
mbiter + #if HAVE_MBRTOWC
#include "mbiter.h"
#endif +
--- + mbiter.m4
mbrtowc.m4
gl_MBITER +
mbchar
stdbool +
mbuiter + #if HAVE_MBRTOWC
#include "mbuiter.h"
#endif +
--- + mbiter.m4
mbrtowc.m4
gl_MBITER +
mbchar
stdbool
strnlen1 +
mbfile + #if HAVE_MBRTOWC
#include "mbfile.h"
#endif +
--- + mbfile.m4
mbrtowc.m4
gl_MBFILE +
mbchar
stdbool +
+

Support for systems lacking POSIX:2001

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
chown + #include <unistd.h> + chown.c
fchown-stub.c +
chown.m4
gl_FUNC_CHOWN +
stat-macros +
dup2 + #include <unistd.h> + dup2.c + dup2.m4
gl_FUNC_DUP2 +
--- +
ftruncate + #include <unistd.h> + ftruncate.c + ftruncate.m4
gl_FUNC_FTRUNCATE +
--- +
getaddrinfo + #include "getaddrinfo.h" + getaddrinfo.c
gai_strerror.c +
getaddrinfo.m4
gl_GETADDRINFO +
gettext-h
snprintf
socklen
stdbool
strdup
sys_socket
inet_ntop +
getcwd + #include "getcwd.h" + getcwd.c + getcwd-abort-bug.m4
getcwd-path-max.m4
getcwd.m4
gl_FUNC_GETCWD +
mempcpy
d-ino
extensions
stdbool +
getgroups + #include <unistd.h> + getgroups.c + getgroups.m4
gl_FUNC_GETGROUPS +
xalloc +
gethostname + --- + gethostname.c + gethostname.m4
gl_FUNC_GETHOSTNAME +
--- +
getlogin_r + #include "getlogin_r.h" + getlogin_r.c + getlogin_r.m4
gl_GETLOGIN_R +
unistd +
getsubopt + #include "getsubopt.h" + getsubopt.c + getsubopt.m4
gl_FUNC_GETSUBOPT +
strchrnul +
gettimeofday + #include <sys/time.h> + gettimeofday.c + gettimeofday.m4
AC_FUNC_GETTIMEOFDAY_CLOBBER +
--- +
inet_ntop + #include "inet_ntop.h" + inet_ntop.c + inet_ntop.m4
gl_INET_NTOP +
socklen
sys_socket
arpa_inet
netinet_in +
inet_pton + #include "inet_pton.h" + inet_pton.c + inet_pton.m4
gl_INET_PTON +
socklen
sys_socket
arpa_inet
netinet_in +
mkdir + #include <sys/stat.h> + mkdir.c + mkdir-slash.m4
gl_FUNC_MKDIR_TRAILING_SLASH +
xalloc
dirname +
mkstemp + #include <stdlib.h> + mkstemp.c
tempname.c +
mkstemp.m4
gl_FUNC_MKSTEMP +
stat-macros
stdint
sys_stat +
mkdtemp + #include "mkdtemp.h" + mkdtemp.c + ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
mkdtemp.m4
gt_FUNC_MKDTEMP +
unistd +
poll + #include <poll.h> + poll.c
poll_.h +
poll.m4
gl_FUNC_POLL +
--- +
readlink + --- + readlink.c + readlink.m4
gl_FUNC_READLINK +
--- +
lstat + #include "lstat.h" + lstat.c + lstat.m4
gl_FUNC_LSTAT +
stat-macros +
time_r + #include "time_r.h" + time_r.c + time_r.m4
gl_TIME_R +
extensions +
timespec + #include "timespec.h" + --- + timespec.m4
gl_TIMESPEC +
extensions +
nanosleep + #include <time.h> + nanosleep.c + nanosleep.m4
gl_FUNC_NANOSLEEP +
timespec
stdbool
extensions +
regex + #include "regex.h" + regex.c
regex_internal.c
regex_internal.h
regexec.c
regcomp.c +
codeset.m4
regex.m4
gl_REGEX +
alloca
extensions
gettext-h
malloc
stdint
strcase
ssize_t +
rename + #include <stdio.h> + rename.c + rename.m4
vb_FUNC_RENAME +
xalloc
dirname +
rmdir + #include <unistd.h> + rmdir.c + rmdir.m4
gl_FUNC_RMDIR +
stat-macros +
ssize_t + #include <sys/types.h> + --- + ssize_t.m4
gt_TYPE_SSIZE_T +
--- +
strtok_r + #include "strtok_r.h" + strtok_r.c + strtok_r.m4
gl_FUNC_STRTOK_R +
--- +
sys_stat + #include <sys/stat.h> + stat_.h + absolute-header.m4
sys_stat_h.m4
gl_HEADER_SYS_STAT_H +
--- +
unistd + #include <unistd.h> + --- + unistd_h.m4
gl_HEADER_UNISTD +
--- +
utime + #if HAVE_UTIME_H
# include <utime.h>
#else
# include <sys/utime.h>
#endif +
utime.c + utimbuf.m4
utime.m4
utimes.m4
utimes-null.m4
gl_FUNC_UTIME +
safe-read
full-write +
wcwidth + #include "wcwidth.h" + --- + wcwidth.m4
wchar_t.m4
gl_FUNC_WCWIDTH +
--- +
+

Compatibility checks for POSIX:2001 functions

+ + d-ino + --- + --- + d-ino.m4
gl_CHECK_TYPE_STRUCT_DIRENT_D_INO + --- + + + d-type + --- + --- + d-type.m4
gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE + --- + + + link-follow + --- + --- + link-follow.m4
gl_AC_FUNC_LINK_FOLLOWS_SYMLINK + --- + + + rmdir-errno + --- + --- + rmdir-errno.m4
gl_FUNC_RMDIR_NOTEMPTY + --- + + + unlink-busy + --- + --- + unlink-busy.m4
gl_FUNC_UNLINK_BUSY_TEXT + --- + + + winsz-ioctl + --- + --- + jm-winsz2.m4
gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL + winsz-termios + + + winsz-termios + --- + --- + jm-winsz1.m4
gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
gl_WINSIZE_IN_PTEM + --- + + +

Enhancements for POSIX:2001 functions

+ + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
dirname + #include "dirname.h" + dirname.c
basename.c
stripslash.c +
dos.m4
dirname.m4
double-slash-root.m4
gl_DIRNAME +
stdbool
xalloc
xstrndup +
getopt + #include <getopt.h> + getopt_.h
getopt.c
getopt1.c
getopt_int.h +
getopt.m4
gl_GETOPT +
gettext-h
unistd +
unistd-safer + #include "unistd-safer.h" + unistd--.h
dup-safer.c
fd-safer.c
pipe-safer.c +
unistd-safer.m4
gl_UNISTD_SAFER +
--- +
fnmatch + #include <fnmatch.h> + fnmatch_.h
fnmatch.c
fnmatch_loop.c +
mbstate_t.m4
fnmatch.m4
# No macro. You should also use one of fnmatch-posix or fnmatch-gnu. +
alloca
stdbool +
fnmatch-posix + #include "fnmatch.h" + --- + gl_FUNC_FNMATCH_POSIX + fnmatch +
fnmatch-gnu + #include "fnmatch.h" + --- + gl_FUNC_FNMATCH_GNU + fnmatch +
glob + #include <glob.h> + glob_.h
glob-libc.h
glob.c +
glob.m4
gl_GLOB +
alloca
d-type
extensions
fnmatch
getlogin_r
mempcpy
stat-macros
stdbool
strdup
unistd +
exclude + #include "exclude.h" + exclude.c + exclude.m4
gl_EXCLUDE +
xalloc
strcase
fnmatch-gnu
stdbool
verify +
+

Extra functions based on POSIX:2001

+

Numeric conversion functions

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
human + #include "human.h" + human.c + human.m4
gl_HUMAN +
gettext-h
argmatch
error
intprops
xstrtoumax
stdbool
stdint +
+

File system functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
acl + #include "acl.h" + acl.c + acl.m4
AC_FUNC_ACL +
--- +
backupfile + #include "backupfile.h" + backupfile.c + dos.m4
backupfile.m4
gl_BACKUPFILE +
argmatch
d-ino
dirname
stdbool +
canonicalize + #include "canonicalize.h" + canonicalize.c
pathmax.h +
canonicalize.m4
AC_FUNC_CANONICALIZE_FILE_NAME +
cycle-check
filenamecat
stat-macros
xalloc
xgetcwd
xreadlink +
clean-temp + #include "clean-temp.h" + clean-temp.c + --- + stdbool
unistd
error
fatal-signal
pathmax
tmpdir
mkdtemp
xalloc
xallocsa
linkedhash-list
gettext-h +
copy-file + #include "copy-file.h" + copy-file.c + copy-file.m4
gl_COPY_FILE +
error
safe-read
full-write
binary-io
exit
gettext-h
unistd +
cycle-check + #include "cycle-check.h" + cycle-check.c + cycle-check.m4
gl_CYCLE_CHECK +
dev-ino
same-inode
stdbool
stdint +
fsusage + #include "fsusage.h" + fsusage.c + fsusage.m4
gl_FSUSAGE +
full-read
stdbool
stdint +
dirfd + #include "dirfd.h" + dirfd.c + dirfd.m4
gl_FUNC_DIRFD +
--- +
euidaccess + #include "euidaccess.h" + euidaccess.c + euidaccess.m4
gl_FUNC_EUIDACCESS +
group-member
stat-macros +
file-type + #include "file-type.h" + file-type.c + file-type.m4
gl_FILE_TYPE +
gettext-h
stat-macros +
fileblocks + --- + fileblocks.c + fileblocks.m4
gl_FILEBLOCKS +
--- +
filemode + #include "filemode.h" + filemode.c + filemode.m4
st_dm_mode.m4
gl_FILEMODE +
stat-macros +
filenamecat + #include "filenamecat.h" + filenamecat.c + dos.m4
filenamecat.m4
gl_FILE_NAME_CONCAT +
xalloc
dirname +
fts + #include "fts_.h" + fts.c
fts-cycle.c +
fts.m4
gl_FUNC_FTS +
cycle-check
dirfd
hash
lstat
openat
stdbool
fcntl-safer
unistd-safer +
fts-lgpl + #include "fts_.h" + fts.c + fts.m4
gl_FUNC_FTS_LGPL +
dirfd
stdbool +
isdir + --- + isdir.c + isdir.m4
gl_ISDIR +
--- +
lchmod + #include "lchown.h" + lchmod.h + lchmod.m4
gl_FUNC_LCHMOD +
--- +
lchown + #include "lchown.h" + lchown.c + lchown.m4
gl_FUNC_LCHOWN +
chown
stat-macros +
mkancesdirs + #include "mkancesdirs.h" + mkancesdirs.c + mkancesdirs.m4
gl_MKANCESDIRS +
dirname
stat-macros +
mkdir-p + #include "mkdir-p.h" + dirchownmod.c
dirchownmod.h
mkdir-p.c +
mkdir-p.m4
gl_MKDIR_PARENTS +
error
gettext-h
lchmod
lchown
mkancesdirs
quote
stat-macros
stdbool +
modechange + #include "modechange.h" + modechange.c + modechange.m4
gl_MODECHANGE +
stat-macros
xalloc +
mountlist + #include "mountlist.h" + mountlist.c + ls-mntd-fs.m4
fstypename.m4
mountlist.m4
gl_MOUNTLIST +
stdbool
xalloc +
pathname + #include "pathname.h" + concatpath.c + --- + xalloc
stpcpy +
pathmax + #include "pathmax.h" + --- + pathmax.m4
gl_PATHMAX +
--- +
same + #include "same.h" + same.c + same.m4
gl_SAME +
xalloc
error
dirname
same-inode
stdbool +
save-cwd + #include "save-cwd.h" + save-cwd.c + save-cwd.m4
gl_SAVE_CWD +
chdir-long
fcntl-safer
xgetcwd
stdbool +
savedir + #include "savedir.h" + savedir.c + savedir.m4
gl_SAVEDIR +
openat
xalloc +
stat-time + #include "stat-time.h" + --- + stat-time.m4
gl_STAT_TIME +
timespec +
tmpdir + #include "tmpdir.h" + tmpdir.c + tmpdir.m4
gt_TMPDIR +
stdbool +
unlinkdir + #include "unlinkdir.h" + unlinkdir.c + unlinkdir.m4
gl_UNLINKDIR +
stdbool +
utimecmp + #include "utimecmp.h" + utimecmp.c + utimecmp.m4
gl_UTIMECMP +
hash
stat-time
timespec
utimens
xalloc
intprops
stdbool
stdint
verify +
utimens + #include "utimens.h" + utimens.c + utimbuf.m4
utimens.m4
utimes.m4
gl_UTIMENS +
timespec +
xgetcwd + #include "xgetcwd.h" + xgetcwd.c + xgetcwd.m4
gl_XGETCWD +
getcwd
xalloc
stdbool +
xreadlink + #include "xreadlink.h" + xreadlink.c + xreadlink.m4
gl_XREADLINK +
xalloc
readlink
ssize_t +
+

File descriptor based Input/Output

+ + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
fcntl-safer + #include "fcntl-safer.h" + fcntl--.h
creat-safer.c
open-safer.c +
fcntl-safer.m4
gl_FCNTL_SAFER +
unistd-safer +
safe-read + #include "safe-read.h" + safe-read.c + safe-read.m4
gl_SAFE_READ +
ssize_t +
safe-write + #include "safe-write.h" + safe-write.c + safe-write.m4
gl_SAFE_WRITE +
safe-read +
full-read + #include "full-read.h" + full-read.c + --- + safe-read
full-write +
full-write + #include "full-write.h" + full-write.c + --- + safe-write +
binary-io + #include "binary-io.h" + --- + --- + --- +
+

File stream based Input/Output

+ + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
close-stream + #include "close-stream.h" + close-stream.c + close-stream.m4
gl_CLOSE_STREAM +
fpending
stdbool +
closeout + #include "closeout.h" + closeout.c + closeout.m4
gl_CLOSEOUT +
close-stream
gettext-h
error
quotearg
exitfail +
fopen-safer + #include "stdio-safer.h" + stdio--.h
fopen-safer.c +
stdio-safer.m4
gl_FOPEN_SAFER +
unistd-safer +
fpending + #include "__fpending.h" + __fpending.c + fpending.m4
gl_FUNC_FPENDING +
--- +
getpass + #include "getpass.h" + getpass.c + getpass.m4
gl_FUNC_GETPASS +
getline
stdbool +
getpass-gnu + #include "getpass.h" + getpass.c + getpass.m4
gl_FUNC_GETPASS_GNU +
getline
stdbool +
stdlib-safer + #include "stdlib-safer.h" + stdlib--.h
mkstemp-safer.c +
stdlib-safer.m4
gl_STDLIB_SAFER +
mkstemp
unistd-safer +
tmpfile-safer + #include "stdio-safer.h" + stdio--.h
tmpfile-safer.c +
stdio-safer.m4
gl_TMPFILE_SAFER +
binary-io
unistd-safer +
+

Users and groups

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
getugroups + --- + getugroups.c + getugroups.m4
gl_GETUGROUPS +
--- +
group-member + #include "group-member.h" + group-member.c + group-member.m4
gl_FUNC_GROUP_MEMBER +
xalloc
stdbool +
idcache + --- + idcache.c + idcache.m4
gl_IDCACHE +
xalloc +
userspec + #include "userspec.h" + inttostr.h
userspec.c +
userspec.m4
gl_USERSPEC +
posixver
xalloc
xstrtol
strdup
gettext-h
intprops
stdbool +
+

Date and time

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
gettime + #include "timespec.h" + gettime.c + clock_time.m4
gettime.m4
gl_GETTIME +
gettimeofday
timespec
extensions +
settime + --- + settime.c + clock_time.m4
settime.m4
gl_SETTIME +
timespec
extensions +
posixtm + #include "posixtm.h" + posixtm.c + posixtm.m4
gl_POSIXTM +
mktime
stdbool +
xnanosleep + #include "xnanosleep.h" + xnanosleep.c + xnanosleep.m4
gl_XNANOSLEEP +
nanosleep
timespec
intprops
stdbool +
+

Networking functions

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
xgethostname + #include "xgethostname.h" + xgethostname.c + --- + gethostname
xalloc +
canon-host + #include "canon-host.h" + canon-host.c + canon-host.m4
gl_CANON_HOST +
getaddrinfo
strdup +
+

Multithreading

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
lock + #include "lock.h" + lock.c + lock.m4
gl_LOCK +
havelib +
tls + #include "tls.h" + tls.c + tls.m4
gl_TLS +
lock +
+

Internationalization functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
gettext + #include "gettext.h" + --- + codeset.m4
gettext.m4
glibc2.m4
glibc21.m4
iconv.m4
intdiv0.m4
intmax.m4
inttypes_h.m4
inttypes-h.m4
inttypes-pri.m4
lcmessage.m4
lock.m4
longdouble.m4
longlong.m4
nls.m4
po.m4
printf-posix.m4
progtest.m4
signed.m4
size_max.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
visibility.m4
wchar_t.m4
wint_t.m4
xsize.m4
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.15]) +
gettext-h
havelib +
gettext-h + #include "gettext.h" + --- + --- + --- +
iconv + #include <iconv.h> + --- + iconv.m4
AM_ICONV +
havelib +
iconvme + #include "iconvme.h" + iconvme.c + iconvme.m4
gl_ICONVME +
iconv
strdup +
localcharset + #include "localcharset.h" + localcharset.c
config.charset
ref-add.sin
ref-del.sin +
codeset.m4
glibc21.m4
localcharset.m4
gl_LOCALCHARSET +
--- +
hard-locale + #include "hard-locale.h" + hard-locale.c + hard-locale.m4
gl_HARD_LOCALE +
stdbool
strdup +
mbswidth + #include "mbswidth.h" + mbswidth.c + mbstate_t.m4
mbrtowc.m4
mbswidth.m4
gl_MBSWIDTH +
wcwidth +
memcasecmp + #include "memcasecmp.h" + memcasecmp.c + memcasecmp.m4
gl_MEMCASECMP +
--- +
memcoll + #include "memcoll.h" + memcoll.c + memcoll.m4
gl_MEMCOLL +
--- +
xmemcoll + #include "xmemcoll.h" + xmemcoll.c + --- + memcoll
gettext-h
error
quotearg
exitfail +
unicodeio + #include "unicodeio.h" + unicodeio.c + unicodeio.m4
gl_UNICODEIO +
iconv
gettext-h
localcharset
error +
rpmatch + --- + rpmatch.c + rpmatch.m4
gl_FUNC_RPMATCH +
gettext-h
regex +
yesno + #include "yesno.h" + yesno.c + yesno.m4
gl_YESNO +
getline
rpmatch
stdbool +
ucs4-utf8 + --- + ucs4-utf8.h + ucs4-utf.m4
gl_UCS4_UTF +
--- +
ucs4-utf16 + --- + ucs4-utf16.h + ucs4-utf.m4
gl_UCS4_UTF +
--- +
utf8-ucs4 + --- + utf8-ucs4.h + utf-ucs4.m4
gl_UTF_UCS4 +
--- +
utf16-ucs4 + --- + utf16-ucs4.h + utf-ucs4.m4
gl_UTF_UCS4 +
--- +
linebreak + #include "linebreak.h" + linebreak.c
lbrkprop.h +
linebreak.m4
gl_LINEBREAK +
localcharset
c-ctype
iconv
utf8-ucs4
utf16-ucs4
xsize +
bison-i18n + --- + --- + bison-i18n.m4
BISON_I18N +
--- +
+

Executing programs

+ + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
cloexec + #include "cloexec.h" + cloexec.c + cloexec.m4
gl_CLOEXEC +
stdbool +
findprog + #include "findprog.h" + findprog.c + findprog.m4
eaccess.m4
gl_FINDPROG +
stdbool
xalloc
pathname
unistd +
wait-process + #include "wait-process.h" + wait-process.c + wait-process.m4
sig_atomic_t.m4
gl_WAIT_PROCESS +
fatal-signal
error
exit
xalloc
gettext-h
stdbool
unistd +
execute + #include "execute.h" + execute.c
w32spawn.h +
execute.m4
gl_EXECUTE +
error
exit
fatal-signal
wait-process
gettext-h
stdbool
strpbrk
unistd +
pipe + #include "pipe.h" + pipe.c
w32spawn.h +
pipe.m4
gl_PIPE +
wait-process
error
exit
fatal-signal
gettext-h
stdbool
strpbrk
unistd +
sh-quote + #include "sh-quote.h" + sh-quote.c + --- + quotearg
xalloc +
+

Java

+ + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
classpath + #include "classpath.h" + classpath.c + --- + stdbool
xsetenv
xalloc +
javacomp + #include "javacomp.h" + javacomp.c + --- + stdbool
unistd
javaversion
execute
pipe
wait-process
classpath
xsetenv
sh-quote
binary-io
safe-read
xalloc
xallocsa
getline
pathname
fwriteerror
clean-temp
error
xvasprintf
strstr
gettext-h
javacomp-script +
javaexec + #include "javaexec.h" + javaexec.c + javaexec.m4
# You need to invoke gt_JAVAEXEC yourself, possibly with arguments.
AC_CONFIG_FILES([javaexec.sh:build-aux/javaexec.sh.in]) +
stdbool
execute
classpath
xsetenv
sh-quote
pathname
xalloc
xallocsa
error
gettext-h +
javaversion + #include "javaversion.h" + javaversion.c
javaversion.java
javaversion.class +
--- + javaexec
stdbool
pipe
wait-process
getline
gettext-h +
+

C#

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
csharpcomp + #include "csharpcomp.h" + csharpcomp.c + --- + stdbool
xallocsa
execute
pipe
wait-process
getline
sh-quote
safe-read
error
gettext-h
csharpcomp-script +
csharpexec + #include "csharpexec.h" + csharpexec.c
classpath.h
classpath.c +
csharpexec.m4
csharp.m4
# You need to invoke gt_CSHARPEXEC yourself, possibly with arguments.
AC_CONFIG_FILES([csharpexec.sh:build-aux/csharpexec.sh.in]) +
stdbool
execute
xsetenv
sh-quote
xalloc
xallocsa
error
gettext-h +
+

Misc

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
argp + #include "argp.h" + argp-ba.c
argp-eexst.c
argp-fmtstream.c
argp-fmtstream.h
argp-fs-xinl.c
argp-help.c
argp-namefrob.h
argp-parse.c
argp-pin.c
argp-pv.c
argp-pvh.c
argp-xinl.c +
argp.m4
gl_ARGP +
alloca
dirname
getopt
strchrnul
sysexits
mempcpy
strndup
strcase
extensions
vsnprintf +
argz + #include <argz.h> + argz_.h
argz.c +
argz.m4
gl_FUNC_ARGZ +
--- +
byteswap + #include <byteswap.h> + byteswap_.h + byteswap.m4
gl_BYTESWAP +
--- +
exitfail + #include "exitfail.h" + exitfail.c + exitfail.m4
gl_EXITFAIL +
exit +
c-stack + #include "c-stack.h" + c-stack.c + c-stack.m4
gl_C_STACK +
gettext-h
exitfail
unistd +
error + #include "error.h" + error.c + error.m4
gl_ERROR +
--- +
extensions + --- + --- + extensions.m4
dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. +
--- +
getdomainname + #include "getdomainname.h" + getdomainname.c + getdomainname.m4
gl_FUNC_GETDOMAINNAME +
--- +
xgetdomainname + #include "xgetdomainname.h" + xgetdomainname.c + --- + getdomainname
xalloc +
getloadavg + --- + getloadavg.c + AC_FUNC_GETLOADAVG + cloexec
xalloc
c-strtod
intprops
stdbool
fcntl-safer +
getpagesize + #include "getpagesize.h" + --- + getpagesize.m4
gl_GETPAGESIZE +
--- +
getusershell + --- + getusershell.c + getusershell.m4
gl_FUNC_GETUSERSHELL +
fopen-safer
xalloc +
physmem + #include "physmem.h" + physmem.c + physmem.m4
gl_PHYSMEM +
--- +
posixver + #include "posixver.h" + posixver.c + posixver.m4
gl_POSIXVER +
--- +
progname + #include "progname.h" + progname.c + --- + --- +
quotearg + #include "quotearg.h" + quotearg.c + mbstate_t.m4
mbrtowc.m4
quotearg.m4
gl_QUOTEARG +
xalloc
gettext-h
stdbool +
quote + #include "quote.h" + quote.c + quote.m4
gl_QUOTE +
quotearg +
readutmp + #include "readutmp.h" + readutmp.c + readutmp.m4
gl_READUTMP +
xalloc
free
stdbool +
sig2str + #include "sig2str.h" + sig2str.c + sig2str.m4
gl_FUNC_SIG2STR +
intprops +
sysexits + #include <sysexits.h> + sysexit_.h + sysexits.m4
gl_SYSEXITS +
--- +
verror + #include "verror.h" + verror.c + --- + error
xvasprintf +
visibility + --- + --- + visibility.m4
gl_VISIBILITY +
--- +
+

Support for building libraries and executables

+ + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
dummy + --- + dummy.c + --- + --- +
ldd + --- + --- + ldd.m4
gl_LDD
AC_CONFIG_FILES([ldd.sh:build-aux/ldd.sh.in]) +
--- +
lib-ignore + --- + --- + lib-ignore.m4
gl_IGNORE_UNUSED_LIBRARIES +
--- +
+

Support for building documentation

+ + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
fdl + --- + --- + --- + --- +
gendocs + --- + --- + --- + --- +
+

Misc

+ + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
host-os + --- + --- + host-os.m4
gl_HOST_OS +
--- +
perl + --- + --- + perl.m4
gl_PERL +
--- +
uptime + --- + --- + uptime.m4
gl_SYS_PROC_UPTIME +
--- +
+

Unclassified modules - please update MODULES.html.sh

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
arcfour + #include "arcfour.h" + arcfour.c + arcfour.m4
gl_ARCFOUR +
stdint +
arctwo + #include "arctwo.h" + arctwo.c + arctwo.m4
gl_ARCTWO +
stdint +
arpa_inet + #include <arpa/inet.h> + --- + arpa_inet_h.m4
gl_HEADER_ARPA_INET +
sys_socket +
chdir-long + #include "chdir-long.h" + chdir-long.c + chdir-long.m4
gl_FUNC_CHDIR_LONG +
openat
mempcpy
memrchr
stdbool +
chdir-safer + #include "chdir-safer.h" + chdir-safer.c + chdir-safer.m4
gl_CHDIR_SAFER +
same-inode
stdbool +
crc + #include "crc.h" + crc.c + crc.m4
gl_CRC +
stdint +
csharpcomp-script + --- + --- + csharpcomp.m4
csharp.m4
AC_REQUIRE([gt_CSHARPCOMP])
AC_CONFIG_FILES([csharpcomp.sh:build-aux/csharpcomp.sh.in]) +
--- +
des + #include "des.h" + des.c + des.m4
gl_DES +
stdint
stdbool +
dev-ino + #include "dev-ino.h" + --- + dev-ino.m4
gl_STRUCT_DEV_INO +
--- +
gc + #include "gc.h" + gc-libgcrypt.c
gc-gnulib.c +
gc.m4
gl_GC +
havelib +
gc-arcfour + #include "gc.h" + arcfour.h
arcfour.c +
gc-arcfour.m4
arcfour.m4
gl_GC_ARCFOUR +
stdint
gc +
gc-arctwo + #include "gc.h" + arctwo.h
arctwo.c +
gc-arctwo.m4
arctwo.m4
gl_GC_ARCTWO +
stdint
gc +
gc-des + #include "gc.h" + des.h
des.c +
gc-des.m4
des.m4
gl_GC_DES +
stdint
gc +
gc-hmac-md5 + #include "gc.h" + md5.h
md5.c
hmac.h
hmac-md5.c
memxor.h
memxor.c +
gc-hmac-md5.m4
md5.m4
hmac-md5.m4
memxor.m4
gl_GC_HMAC_MD5 +
stdint
gc +
gc-hmac-sha1 + #include "gc.h" + sha1.h
sha1.c
hmac.h
hmac-sha1.c
memxor.h
memxor.c +
gc-hmac-sha1.m4
sha1.m4
hmac-sha1.m4
memxor.m4
gl_GC_HMAC_SHA1 +
stdint
gc +
gc-md2 + #include "gc.h" + --- + gc-md2.m4
gl_GC_MD2 +
stdint
gc
minmax
md2 +
gc-md4 + #include "gc.h" + md4.h
md4.c +
gc-md4.m4
md4.m4
gl_GC_MD4 +
stdint
gc +
gc-md5 + #include "gc.h" + md5.h
md5.c +
gc-md5.m4
md5.m4
gl_GC_MD5 +
stdint
gc +
gc-pbkdf2-sha1 + #include "gc.h" + gc-pbkdf2-sha1.c + gc-pbkdf2-sha1.m4
gl_GC_PBKDF2_SHA1 +
gc
gc-hmac-sha1 +
gc-random + #include "gc.h" + --- + gc-random.m4
gl_GC_RANDOM +
gc +
gc-rijndael + #include "gc.h" + rijndael-alg-fst.c
rijndael-alg-fst.h
rijndael-api-fst.c
rijndael-api-fst.h +
gc-rijndael.m4
rijndael.m4
gl_GC_RIJNDAEL +
stdint
gc +
gc-sha1 + #include "gc.h" + sha1.h
sha1.c +
gc-sha1.m4
sha1.m4
gl_GC_SHA1 +
stdint
gc +
gethrxtime + #include "xtime.h" + gethrxtime.c
gethrxtime.h +
gethrxtime.m4
clock_time.m4
longlong.m4
gl_GETHRXTIME +
gettime
extensions +
havelib + --- + --- + lib-ld.m4
lib-link.m4
lib-prefix.m4 +
--- +
hmac-md5 + #include "hmac.h" + hmac-md5.c + hmac-md5.m4
gl_HMAC_MD5 +
memxor
md5 +
hmac-sha1 + #include "hmac.h" + hmac-sha1.c + hmac-sha1.m4
gl_HMAC_SHA1 +
memxor
sha1 +
inttypes + #include <inttypes.h> + inttypes.h + include_next.m4
absolute-header.m4
_inttypes_h.m4
gl_INTTYPES_H +
--- +
javacomp-script + --- + --- + javacomp.m4
# You need to invoke gt_JAVACOMP yourself, possibly with arguments.
AC_CONFIG_FILES([javacomp.sh:build-aux/javacomp.sh.in]) +
--- +
maintainer-makefile + --- + --- + --- + --- +
md2 + #include "md2.h" + md2.c + md2.m4
gl_MD2 +
minmax +
md4 + #include "md4.h" + md4.c + md4.m4
gl_MD4 +
stdint +
memxor + #include "memxor.h" + memxor.c + memxor.m4
gl_MEMXOR +
--- +
netinet_in + #include <netinet/in.h> + --- + netinet_in_h.m4
gl_HEADER_NETINET_IN +
sys_socket +
openat + #include "openat.h" + at-func.c
fchmodat.c
mkdirat.c
openat.c
openat-die.c
openat-priv.h +
openat.m4
gl_FUNC_OPENAT +
save-cwd
gettext-h
dirname
extensions
intprops +
read-file + #include "read-file.h" + read-file.c + read-file.m4
gl_FUNC_READ_FILE +
--- +
rijndael + #include "rijndael-alg-fst.h"
#include "rijndael-api-fst.h" +
rijndael-alg-fst.c
rijndael-alg-fst.h
rijndael-api-fst.c
rijndael-api-fst.h +
rijndael.m4
gl_RIJNDAEL +
stdint +
same-inode + #include "same-inode.h" + --- + same-inode.m4
gl_SAME_INODE +
--- +
socklen + #include <sys/types.h>
#include <sys/socket.h> +
--- + socklen.m4
gl_TYPE_SOCKLEN_T +
sys_socket +
stat-macros + #include "stat-macros.h" + --- + stat-macros.m4
gl_STAT_MACROS +
--- +
sys_select + #include <sys/select.h> + --- + sys_select_h.m4
gl_HEADER_SYS_SELECT +
sys_socket +
sys_socket + #include <sys/types.h>
#include <sys/socket.h> +
socket_.h + sys_socket_h.m4
sockpfaf.m4
gl_HEADER_SYS_SOCKET +
--- +
+

Lone files - please create new modules containing them

+
 lib/progreloc.c
 m4/afs.m4
 m4/gnulib-tool.m4
-m4/host-os.m4
 m4/isc-posix.m4
-m4/jm-winsz1.m4
-m4/jm-winsz2.m4
-m4/link-follow.m4
 m4/onceonly.m4
-m4/perl.m4
 m4/ptrdiff_max.m4
-m4/rmdir-errno.m4
-m4/st_dm_mode.m4
-m4/uint32_t.m4
-m4/uintptr_t.m4
-m4/unlink-busy.m4
-m4/uptime.m4
 m4/warning.m4
 
-

Future developments

- Ideally a module could consist of: -
    -
  • A header file: lib/module.h -
  • One or more implementation files: lib/module.c et al. -
  • One or more autoconf macro files: m4/module.m4 et al. -
  • A configure.ac fragment, Makefile.am fragment, dependency list: modules/module -
  • A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/module-tests -
  • Some documentation -
  • A POT file and some PO files -
-
- Generated from MODULES.html.sh on 20 August 2006. - +

Future developments

+Ideally a module could consist of: +
    +
  • A header file: lib/module.h +
  • One or more implementation files: lib/module.c et al. +
  • One or more autoconf macro files: m4/module.m4 et al. +
  • A configure.ac fragment, Makefile.am fragment, dependency list: modules/module +
  • A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/module-tests +
  • Some documentation +
  • A POT file and some PO files +
+
+Generated from MODULES.html.sh on 20 August 2006. + diff --git a/MODULES.html.sh b/MODULES.html.sh index 128390200..d2e5caa59 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1397,8 +1397,6 @@ func_all_modules () func_echo "$element" func_begin_table - func_module assert - func_module dummy func_module exit func_module atexit func_module strtod @@ -1430,6 +1428,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module assert func_module verify func_end_table @@ -1673,7 +1672,6 @@ func_all_modules () func_echo "$element" func_begin_table - func_module ullong_max func_module size_max func_end_table @@ -1827,6 +1825,20 @@ func_all_modules () func_module wcwidth func_end_table + element="Compatibility checks for POSIX:2001 functions" + func_section_wrap posix_compat + func_wrap H2 + func_echo "$element" + + func_module d-ino + func_module d-type + func_module link-follow + func_module rmdir-errno + func_module unlink-busy + func_module winsz-ioctl + func_module winsz-termios + func_end_table + element="Enhancements for POSIX:2001 functions" func_section_wrap posix_enh func_wrap H2 @@ -1881,6 +1893,7 @@ func_all_modules () func_module fts func_module fts-lgpl func_module isdir + func_module lchmod func_module lchown func_module mkancesdirs func_module mkdir-p @@ -2085,6 +2098,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module dummy func_module ldd func_module lib-ignore func_end_table @@ -2098,6 +2112,17 @@ func_all_modules () func_module fdl func_module gendocs func_end_table + + element="Misc" + func_section_wrap misc + func_wrap H2 + func_echo "$element" + + func_begin_table + func_module host-os + func_module perl + func_module uptime + func_end_table } diff --git a/lib/ChangeLog b/lib/ChangeLog index dfef7de45..cc8d1c875 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,23 @@ +2006-08-20 Paul Eggert + + * cycle-check.h: Include unconditionally, since we + now assume the stdint module. Do not include inttypes.h. + * fsusage.h: Likewise. + * getndelim2.c: Likewise. + * human.h: Likewise. + * inttostr.h: Likewise. + * obstack.c: Likewise. + * regex_internal.h: Likewise. + * tempname.c: Likewise. + * utimecmp.c: Likewise. + * xstrtol.h: Likewise. + + * stat_.h: Fix typo: HAVE_FUNC_LSTAT -> HAVE_LSTAT. + + * strtoimax.c: Adjust to macro name changes in Autoconf, + e.g., HAVE_LONG_LONG -> HAVE_LONG_LONG_INT. + * xtime.h: Likewise. + 2006-08-19 Paul Eggert * fchmodat.c: New file, from coreutils. This was inadvertently diff --git a/lib/cycle-check.h b/lib/cycle-check.h index 927f3e51f..afd7a8f2b 100644 --- a/lib/cycle-check.h +++ b/lib/cycle-check.h @@ -22,12 +22,7 @@ #ifndef CYCLE_CHECK_H # define CYCLE_CHECK_H 1 -# if HAVE_INTTYPES_H -# include -# endif -# if HAVE_STDINT_H -# include -# endif +# include # include # include "dev-ino.h" # include "same-inode.h" diff --git a/lib/fsusage.h b/lib/fsusage.h index 645d107ea..7fa9f8d6a 100644 --- a/lib/fsusage.h +++ b/lib/fsusage.h @@ -22,12 +22,7 @@ #if !defined FSUSAGE_H_ # define FSUSAGE_H_ -# if HAVE_INTTYPES_H -# include -# endif -# if HAVE_STDINT_H -# include -# endif +# include # include struct fs_usage diff --git a/lib/getndelim2.c b/lib/getndelim2.c index 3c0fa3f05..1d5a1ef07 100644 --- a/lib/getndelim2.c +++ b/lib/getndelim2.c @@ -1,8 +1,8 @@ /* getndelim2 - Read a line from a stream, stopping at one of 2 delimiters, with bounded memory allocation. - Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003, 2004 Free Software - Foundation, Inc. + Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003, 2004, 2006 Free + Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,21 +34,7 @@ #endif #include -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif -#ifndef PTRDIFF_MAX -# define PTRDIFF_MAX ((ptrdiff_t) (SIZE_MAX / 2)) -#endif -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif -#ifndef SSIZE_MAX -# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) -#endif +#include /* The maximum value that getndelim2 can return without suffering from overflow problems, either internally (because of pointer diff --git a/lib/human.h b/lib/human.h index 902d59935..44b8b36d5 100644 --- a/lib/human.h +++ b/lib/human.h @@ -1,7 +1,7 @@ /* human.h -- print human readable file size - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 - Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,10 +24,7 @@ # include # include - -# if HAVE_STDINT_H -# include -# endif +# include # include /* A conservative bound on the maximum length of a human-readable string. diff --git a/lib/inttostr.h b/lib/inttostr.h index 55f80ee8e..3988a6d33 100644 --- a/lib/inttostr.h +++ b/lib/inttostr.h @@ -1,6 +1,7 @@ /* inttostr.h -- convert integers to printable strings - Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,13 +19,7 @@ /* Written by Paul Eggert */ -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif - +#include #include #include "intprops.h" diff --git a/lib/obstack.c b/lib/obstack.c index 6df0611d2..9c4aaaf63 100644 --- a/lib/obstack.c +++ b/lib/obstack.c @@ -1,8 +1,8 @@ /* obstack.c - subroutines used implicitly by object stack macros Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, - 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, - Inc. + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -55,13 +55,7 @@ #ifndef ELIDE_CODE - -# if HAVE_INTTYPES_H -# include -# endif -# if HAVE_STDINT_H || defined _LIBC -# include -# endif +# include /* Determine default alignment. */ union fooround diff --git a/lib/regex_internal.h b/lib/regex_internal.h index 06f89a47f..cc9b5b79c 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -43,9 +43,7 @@ #if defined HAVE_WCTYPE_H || defined _LIBC # include #endif /* HAVE_WCTYPE_H || _LIBC */ -#if defined HAVE_STDINT_H || defined _LIBC -# include -#endif /* HAVE_STDINT_H || _LIBC */ +#include #if defined _LIBC # include #else diff --git a/lib/stat_.h b/lib/stat_.h index b3eff8cb0..8c2e552f1 100644 --- a/lib/stat_.h +++ b/lib/stat_.h @@ -26,7 +26,7 @@ /* mingw does not support symlinks, therefore it does not have lstat. But without links, stat does just fine. */ -#if ! HAVE_FUNC_LSTAT +#if ! HAVE_LSTAT # define lstat stat #endif diff --git a/lib/strtoimax.c b/lib/strtoimax.c index 098cfa966..dcdd1810c 100644 --- a/lib/strtoimax.c +++ b/lib/strtoimax.c @@ -1,6 +1,6 @@ /* Convert string representation of a number into an intmax_t value. - Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software + Copyright (C) 1999, 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ # ifndef HAVE_DECL_STRTOULL "this configure-time declaration test was not run" # endif -# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG +# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG_INT unsigned long long strtoull (char const *, char **, int); # endif @@ -43,14 +43,14 @@ unsigned long long strtoull (char const *, char **, int); # ifndef HAVE_DECL_STRTOLL "this configure-time declaration test was not run" # endif -# if !HAVE_DECL_STRTOLL && HAVE_UNSIGNED_LONG_LONG +# if !HAVE_DECL_STRTOLL && HAVE_UNSIGNED_LONG_LONG_INT long long strtoll (char const *, char **, int); # endif #endif #ifdef UNSIGNED -# undef HAVE_LONG_LONG -# define HAVE_LONG_LONG HAVE_UNSIGNED_LONG_LONG +# undef HAVE_LONG_LONG_INT +# define HAVE_LONG_LONG_INT HAVE_UNSIGNED_LONG_LONG_INT # define INT uintmax_t # define strtoimax strtoumax # define strtol strtoul @@ -62,7 +62,7 @@ long long strtoll (char const *, char **, int); INT strtoimax (char const *ptr, char **endptr, int base) { -#if HAVE_LONG_LONG +#if HAVE_LONG_LONG_INT verify (sizeof (INT) == sizeof (long int) || sizeof (INT) == sizeof (long long int)); diff --git a/lib/tempname.c b/lib/tempname.c index a25beb205..038b688dd 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -53,13 +53,7 @@ # include #endif -#if HAVE_STDINT_H || _LIBC -# include -#endif -#if HAVE_INTTYPES_H -# include -#endif - +#include #include #include diff --git a/lib/utimecmp.c b/lib/utimecmp.c index 9d07e9fd3..b42e71fa8 100644 --- a/lib/utimecmp.c +++ b/lib/utimecmp.c @@ -1,6 +1,6 @@ /* utimecmp.c -- compare file time stamps - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,15 +24,9 @@ #include "utimecmp.h" -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif - #include #include +#include #include #include "hash.h" #include "intprops.h" diff --git a/lib/xstrtol.h b/lib/xstrtol.h index 119c683b1..354fb6b37 100644 --- a/lib/xstrtol.h +++ b/lib/xstrtol.h @@ -1,7 +1,7 @@ /* A more useful interface to strtol. - Copyright (C) 1995, 1996, 1998, 1999, 2001, 2002, 2003, 2004 Free - Software Foundation, Inc. + Copyright (C) 1995, 1996, 1998, 1999, 2001, 2002, 2003, 2004, 2006 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,12 +22,7 @@ # include "exitfail.h" -# if HAVE_INTTYPES_H -# include -# endif -# if HAVE_STDINT_H -# include -# endif +# include # ifndef _STRTOL_ERROR enum strtol_error diff --git a/lib/xtime.h b/lib/xtime.h index 297c6f53d..d268d2d2e 100644 --- a/lib/xtime.h +++ b/lib/xtime.h @@ -25,7 +25,7 @@ type that is a count of nanoseconds -- except for obsolescent hosts without sufficiently-wide integers, where it is a count of seconds. */ -# if HAVE_LONG_LONG +# if HAVE_LONG_LONG_INT typedef long long int xtime_t; # define XTIME_PRECISION 1000000000 # else diff --git a/m4/ChangeLog b/m4/ChangeLog index 5bc09c8fa..8f525b6a3 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,54 @@ +2006-08-20 Paul Eggert + + Remove files that are no longer needed by their respective modules. + * obstack.m4: Remove. + * strerror_r.m4: Remove. + * uint32_t.m4: Remove. + * uintptr_t.m4: Remove. + * ullong_max.m4: Remove. + * xstrtoimax.m4: Remove. + * xstrtoumax.m4: Remove. + + * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T, + gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now + capture this. + + * cycle-check.m4 (gl_CYCLE_CHECK): + Do not use AC_LIBSOURCES, since gnulib modules now do this. + * fsusage.m4 (gl_FSUSAGE): Likewise. + * human.m4 (gl_HUMAN): Likewise. + * inttostr.m4 (gl_INTTOSTR): Likewise. + * xstrtol.m4 (gl_XSTRTOL): Likewise. + + * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE. + + * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require + gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require + stdint. + * human.m4 (gl_HUMAN): Likewise. + * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise. + * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise. + * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise. + * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise. + * xstrtol (gl_XSTRTOL): Likewise. + + * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG -> + AC_TYPE_LONG_LONG_INT. + * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise. + * strtoll.m4 (gl_FUNC_STRTOLL): Likewise. + * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long. + * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise. + + * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend + on stdbool. + + * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove. + (gl_PREREQ_XSTRTOUL): Remove. + + * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt. + + * posixver.m4: Fix comment since head -1 now works even in POSIX mode. + 2006-08-18 Paul Eggert Bruno Haible @@ -1016,8 +1067,8 @@ 2005-10-19 Simon Josefsson - * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4, - m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal + * gc-hmac-md5.m4, gc-hmac-sha1.m4, gc-md4.m4, + gc-md5.m4, gc-sha1.m4: Fix typo, suggested by Stepan Kasal . 2005-10-19 Simon Josefsson @@ -1240,7 +1291,7 @@ 2005-09-12 Derek Price Paul Eggert - * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c, + * glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c, glob_.h, glob-libc.h. (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed. @@ -2046,7 +2097,7 @@ 2004-11-01 Paul Eggert - * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of + * getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of fflush_unlocked, flockfile, funlockfile, funlockfile, fputs_unlocked, putc_unlocked. diff --git a/m4/cycle-check.m4 b/m4/cycle-check.m4 index 613b0a931..090f89de7 100644 --- a/m4/cycle-check.m4 +++ b/m4/cycle-check.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,11 +6,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CYCLE_CHECK], [ - AC_LIBSOURCES([cycle-check.c, cycle-check.h]) AC_LIBOBJ([cycle-check]) - - dnl Prerequisites. - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) - AC_REQUIRE([gl_STRUCT_DEV_INO]) - AC_REQUIRE([gl_SAME_INODE]) ]) diff --git a/m4/filemode.m4 b/m4/filemode.m4 index 2b9334f85..fa571b3f2 100644 --- a/m4/filemode.m4 +++ b/m4/filemode.m4 @@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FILEMODE], [ + AC_REQUIRE([AC_STRUCT_ST_DM_MODE]) AC_LIBSOURCES([filemode.c, filemode.h]) AC_LIBOBJ([filemode]) AC_CHECK_DECLS_ONCE([strmode]) diff --git a/m4/fsusage.m4 b/m4/fsusage.m4 index 451bd7d1e..78266f110 100644 --- a/m4/fsusage.m4 +++ b/m4/fsusage.m4 @@ -12,8 +12,6 @@ AC_DEFUN([gl_FSUSAGE], [ - AC_LIBSOURCES([fsusage.c, fsusage.h]) - AC_CHECK_HEADERS_ONCE(sys/param.h) AC_CHECK_HEADERS_ONCE(sys/vfs.h sys/fs_types.h) AC_CHECK_HEADERS(sys/mount.h, [], [], @@ -259,7 +257,6 @@ choke -- this is a workaround for a Sun-specific problem # Prerequisites of lib/fsusage.c not done by gl_FILE_SYSTEM_USAGE. AC_DEFUN([gl_PREREQ_FSUSAGE_EXTRA], [ - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) AC_CHECK_HEADERS(dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h sys/statvfs.h) gl_STATFS_TRUNCATES ]) diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4 index 663bd70a1..a816891c3 100644 --- a/m4/gethrxtime.m4 +++ b/m4/gethrxtime.m4 @@ -1,4 +1,4 @@ -# gethrxtime.m4 serial 4 +# gethrxtime.m4 serial 5 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -43,7 +43,7 @@ AC_DEFUN([gl_ARITHMETIC_HRTIME_T], AC_DEFUN([gl_XTIME], [ AC_REQUIRE([AC_C_INLINE]) - AC_REQUIRE([gl_AC_TYPE_LONG_LONG]) + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) : ]) diff --git a/m4/human.m4 b/m4/human.m4 index 1787c48f9..72f2176f8 100644 --- a/m4/human.m4 +++ b/m4/human.m4 @@ -1,18 +1,13 @@ -#serial 9 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +#serial 10 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HUMAN], [ - AC_LIBSOURCES([human.c, human.h, intprops.h]) AC_LIBOBJ([human]) - dnl Prerequisites of lib/human.h. - AC_REQUIRE([AM_STDBOOL_H]) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) - dnl Prerequisites of lib/human.c. : ]) diff --git a/m4/inttostr.m4 b/m4/inttostr.m4 index 600c82ca9..4de28f129 100644 --- a/m4/inttostr.m4 +++ b/m4/inttostr.m4 @@ -1,18 +1,11 @@ -#serial 5 -dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. +#serial 6 +dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_INTTOSTR], [ - AC_LIBSOURCES([inttostr.c, inttostr.h, intprops.h]) - - dnl We don't technically need to list the following .c files, since their - dnl functions are named in the AC_LIBOBJ calls, but this is an unusual - dnl module and it seems a little clearer to do so. - AC_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c]) - AC_LIBOBJ([imaxtostr]) AC_LIBOBJ([offtostr]) AC_LIBOBJ([umaxtostr]) @@ -25,8 +18,6 @@ AC_DEFUN([gl_INTTOSTR], # Prerequisites of lib/inttostr.h. AC_DEFUN([gl_PREREQ_INTTOSTR], [ - AC_REQUIRE([gl_AC_TYPE_INTMAX_T]) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) AC_REQUIRE([AC_TYPE_OFF_T]) : ]) diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index c29933162..8de592e43 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,4 +1,4 @@ -#serial 22 +#serial 23 # How to list mounted file systems. # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software @@ -167,6 +167,7 @@ if test $ac_cv_func_getmntent = yes; then AC_DEFINE(MOUNTED_GETMNTENT2, 1, [Define if there is a function named getmntent for reading the list of mounted file systems, and that function takes two arguments. (SVR4)]) + AC_CHECK_FUNCS(hasmntopt) fi fi diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4 index 57fa8a485..0ce51dd19 100644 --- a/m4/mkstemp.m4 +++ b/m4/mkstemp.m4 @@ -67,5 +67,4 @@ AC_DEFUN([gl_PREREQ_TEMPNAME], [ AC_CHECK_HEADERS_ONCE(sys/time.h) AC_CHECK_FUNCS(__secure_getenv gettimeofday) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) ]) diff --git a/m4/obstack.m4 b/m4/obstack.m4 deleted file mode 100644 index ea60f7fc8..000000000 --- a/m4/obstack.m4 +++ /dev/null @@ -1,23 +0,0 @@ -# obstack.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -AC_DEFUN([gl_OBSTACK], -[ - AC_FUNC_OBSTACK - dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). - if test $ac_cv_func_obstack = no; then - gl_PREREQ_OBSTACK - fi -]) - -# Prerequisites of lib/obstack.c. -AC_DEFUN([gl_PREREQ_OBSTACK], -[ - AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) - AC_REQUIRE([gl_AC_HEADER_STDINT_H]) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) - : -]) diff --git a/m4/posixver.m4 b/m4/posixver.m4 index 838441a49..5432702b3 100644 --- a/m4/posixver.m4 +++ b/m4/posixver.m4 @@ -1,5 +1,5 @@ -# posixver.m4 serial 7 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# posixver.m4 serial 8 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -15,7 +15,7 @@ AC_DEFUN([gl_POSIXVER], # Set the default level of POSIX conformance at configure-time. # Build with `./configure DEFAULT_POSIX2_VERSION=199209 ...' to # support the older version, thus preserving portability with -# scripts that use sort +1, tail +32, head -1, etc. +# scripts that use sort +1, tail +32, etc. # Note however, that this breaks tools that might run commands # like `sort +some-file' that conform with the newer standard. AC_DEFUN([gl_DEFAULT_POSIX2_VERSION], diff --git a/m4/strerror_r.m4 b/m4/strerror_r.m4 deleted file mode 100644 index e3b5d0cfd..000000000 --- a/m4/strerror_r.m4 +++ /dev/null @@ -1,50 +0,0 @@ -#serial 1004 -# This file is not needed if you can assume Autoconf 2.54 or later. -# Experimental replacement for the function in the latest CVS autoconf. -# Use with the error.c file in ../lib. - -# Copyright (C) 2001 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -undefine([AC_FUNC_STRERROR_R]) - -# AC_FUNC_STRERROR_R -# ------------------ -AC_DEFUN([AC_FUNC_STRERROR_R], -[AC_CHECK_DECLS([strerror_r]) -AC_CHECK_FUNCS([strerror_r]) -AC_CACHE_CHECK([whether strerror_r returns char *], - ac_cv_func_strerror_r_char_p, - [ - ac_cv_func_strerror_r_char_p=no - if test $ac_cv_have_decl_strerror_r = yes; then - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], - [[ - char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - char *p = strerror_r (0, buf, sizeof buf); - return !p || x; - ]])], - ac_cv_func_strerror_r_char_p=yes) - else - # strerror_r is not declared. Choose between - # systems that have relatively inaccessible declarations for the - # function. BeOS and DEC UNIX 4.0 fall in this category, but the - # former has a strerror_r that returns char*, while the latter - # has a strerror_r that returns `int'. - # This test should segfault on the DEC system. - AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT - extern char *strerror_r ();], - [[char buf[100]; - char x = *strerror_r (0, buf, sizeof buf); - exit (!isalpha (x));]])], - ac_cv_func_strerror_r_char_p=yes, , :) - fi - ]) -if test $ac_cv_func_strerror_r_char_p = yes; then - AC_DEFINE([STRERROR_R_CHAR_P], 1, - [Define to 1 if strerror_r returns char *.]) -fi -])# AC_FUNC_STRERROR_R diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 index 914e180bc..9957637a6 100644 --- a/m4/strtoimax.m4 +++ b/m4/strtoimax.m4 @@ -1,5 +1,5 @@ -# strtoimax.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +# strtoimax.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -29,7 +29,6 @@ AC_DEFUN([gl_FUNC_STRTOIMAX], # Prerequisites of lib/strtoimax.c. AC_DEFUN([gl_PREREQ_STRTOIMAX], [ - gl_AC_TYPE_INTMAX_T AC_CHECK_DECLS(strtoll) - AC_REQUIRE([gl_AC_TYPE_LONG_LONG]) + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ]) diff --git a/m4/strtoll.m4 b/m4/strtoll.m4 index 76f806549..53cbed213 100644 --- a/m4/strtoll.m4 +++ b/m4/strtoll.m4 @@ -1,5 +1,5 @@ -# strtoll.m4 serial 3 -dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc. +# strtoll.m4 serial 4 +dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -7,9 +7,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRTOLL], [ dnl We don't need (and can't compile) the replacement strtoll - dnl unless the type 'long long' exists. - AC_REQUIRE([gl_AC_TYPE_LONG_LONG]) - if test "$ac_cv_type_long_long" = yes; then + dnl unless the type 'long long int' exists. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + if test "$ac_cv_type_long_long_int" = yes; then AC_REPLACE_FUNCS(strtoll) if test $ac_cv_func_strtoll = no; then gl_PREREQ_STRTOLL diff --git a/m4/strtoull.m4 b/m4/strtoull.m4 index 398a86d18..fcec3de2a 100644 --- a/m4/strtoull.m4 +++ b/m4/strtoull.m4 @@ -1,5 +1,5 @@ -# strtoull.m4 serial 3 -dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc. +# strtoull.m4 serial 4 +dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -7,9 +7,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRTOULL], [ dnl We don't need (and can't compile) the replacement strtoull - dnl unless the type 'unsigned long long' exists. - AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) - if test "$ac_cv_type_unsigned_long_long" = yes; then + dnl unless the type 'unsigned long long int' exists. + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + if test "$ac_cv_type_unsigned_long_long_int" = yes; then AC_REPLACE_FUNCS(strtoull) if test $ac_cv_func_strtoull = no; then gl_PREREQ_STRTOULL diff --git a/m4/strtoumax.m4 b/m4/strtoumax.m4 index 197858712..1935250ed 100644 --- a/m4/strtoumax.m4 +++ b/m4/strtoumax.m4 @@ -1,5 +1,5 @@ -# strtoumax.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +# strtoumax.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -29,7 +29,6 @@ AC_DEFUN([gl_FUNC_STRTOUMAX], # Prerequisites of lib/strtoumax.c. AC_DEFUN([gl_PREREQ_STRTOUMAX], [ - gl_AC_TYPE_UINTMAX_T AC_CHECK_DECLS(strtoull) - AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) ]) diff --git a/m4/uint32_t.m4 b/m4/uint32_t.m4 deleted file mode 100644 index 1fb5e668f..000000000 --- a/m4/uint32_t.m4 +++ /dev/null @@ -1,53 +0,0 @@ -# uint32_t.m4 serial 4 - -# Copyright (C) 2004 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# Written by Paul Eggert. - -AC_DEFUN([gl_AC_TYPE_UINT32_T], -[ - AC_CACHE_CHECK([for uint32_t], gl_cv_c_uint32_t, - [gl_cv_c_uint32_t=no - for ac_type in "uint32_t" "unsigned int" \ - "unsigned long int" "unsigned short int"; do - AC_COMPILE_IFELSE( - [AC_LANG_BOOL_COMPILE_TRY( - [AC_INCLUDES_DEFAULT], - [[($ac_type) -1 == 4294967295U]])], - [gl_cv_c_uint32_t=$ac_type]) - test "$gl_cv_c_uint32_t" != no && break - done]) - case "$gl_cv_c_uint32_t" in - no|uint32_t) ;; - *) - AC_DEFINE(_UINT32_T, 1, - [Define for Solaris 2.5.1 so uint32_t typedef from , - , or is not used. If the typedef was - allowed, the #define below would cause a syntax error.]) - AC_DEFINE_UNQUOTED(uint32_t, $gl_cv_c_uint32_t, - [Define to the type of a unsigned integer type of width exactly 32 bits - if such a type exists and the standard includes do not define it.]) - ;; - esac - - AC_CACHE_CHECK([for UINT32_MAX], gl_cv_c_uint32_max, - [AC_COMPILE_IFELSE( - [AC_LANG_BOOL_COMPILE_TRY( - [AC_INCLUDES_DEFAULT], - [[UINT32_MAX == 4294967295U]])], - [gl_cv_c_uint32_max=yes], - [gl_cv_c_uint32_max=no])]) - case $gl_cv_c_uint32_max,$gl_cv_c_uint32_t in - yes,*) ;; - *,no) ;; - *) - AC_DEFINE(UINT32_MAX, 4294967295U, - [Define to its maximum value if an unsigned integer type of width - exactly 32 bits exists and the standard includes do not define - UINT32_MAX.]) - ;; - esac -]) diff --git a/m4/uintptr_t.m4 b/m4/uintptr_t.m4 deleted file mode 100644 index 65264a58a..000000000 --- a/m4/uintptr_t.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# uintptr_t.m4 serial 3 - -# Copyright (C) 2004 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# Written by Paul Eggert. - -AC_DEFUN([gl_AC_TYPE_UINTPTR_T], -[ - AC_CACHE_CHECK([for uintptr_t], gl_cv_c_uintptr_t, - [gl_cv_c_uintptr_t=no - for ac_type in "uintptr_t" "unsigned int" \ - "unsigned long int" "unsigned long long int"; do - AC_COMPILE_IFELSE( - [AC_LANG_BOOL_COMPILE_TRY( - [AC_INCLUDES_DEFAULT], - [[sizeof (void *) <= sizeof (uintptr_t)]])], - [gl_cv_c_uintptr_t=$ac_type]) - test $gl_cv_c_uintptr_t != no && break - done]) - case $gl_cv_c_uintptr_t in - no|uintptr_t) ;; - *) - AC_DEFINE_UNQUOTED(uintptr_t, $gl_cv_c_uintptr_t, - [Define to the type of a unsigned integer type wide enough to - hold a pointer, if such a type exists.]) - ;; - esac - - dnl Check whether UINTPTR_MAX is defined, not whether it has the - dnl right value. Alas, Solaris 8 defines it to empty! - dnl Applications should use (uintptr_t) -1 rather than UINTPTR_MAX. - AC_CACHE_CHECK([for UINTPTR_MAX], gl_cv_c_uintptr_max, - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [AC_INCLUDES_DEFAULT], - [[#ifndef UINTPTR_MAX - error: UINTPTR_MAX is not defined. - #endif]])], - [gl_cv_c_uintptr_max=yes], - [gl_cv_c_uintptr_max=no])]) - case $gl_cv_c_uintptr_max,$gl_cv_c_uintptr_t in - yes,*) ;; - *,no) ;; - *) - AC_DEFINE(UINTPTR_MAX, ((uintptr_t) -1), - [Define to its maximum value if an unsigned integer type wide enough - to hold a pointer exists and the standard includes do not define - UINTPTR_MAX.]) - ;; - esac -]) diff --git a/m4/ullong_max.m4 b/m4/ullong_max.m4 deleted file mode 100644 index 61fdce25e..000000000 --- a/m4/ullong_max.m4 +++ /dev/null @@ -1,27 +0,0 @@ -# ullong_max.m4 - define ULLONG_MAX if necessary - -dnl Copyright (C) 2005 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -# Written by Paul Eggert. - -AC_DEFUN([gl_ULLONG_MAX], -[ - dnl Avoid _AC_COMPUTE_INT-related macros, as they may not work with - dnl types wider than long int, due to problems with expr. - AC_CACHE_CHECK([whether ULONG_MAX < ULLONG_MAX], - [gl_cv_ulong_max_lt_ullong_max], - [AC_COMPILE_IFELSE( - [AC_LANG_BOOL_COMPILE_TRY( - [AC_INCLUDES_DEFAULT], - [[(unsigned long int) -1 < (unsigned long long int) -1]])], - [gl_cv_ulong_max_lt_ullong_max=yes], - [gl_cv_ulong_max_lt_ullong_max=no])]) - if test $gl_cv_ulong_max_lt_ullong_max = yes; then - AC_DEFINE([ULONG_MAX_LT_ULLONG_MAX], 1, - [Define if ULONG_MAX < ULLONG_MAX, even if your compiler does not - support ULLONG_MAX.]) - fi -]) diff --git a/m4/xstrtoimax.m4 b/m4/xstrtoimax.m4 deleted file mode 100644 index ca1d2d57c..000000000 --- a/m4/xstrtoimax.m4 +++ /dev/null @@ -1,14 +0,0 @@ -#serial 5 -dnl Cloned from xstrtoumax.m4. Keep these files in sync. - -dnl Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -AC_DEFUN([gl_XSTRTOIMAX], -[ - dnl Prerequisites of lib/xstrtoimax.c. - AC_REQUIRE([gl_AC_TYPE_INTMAX_T]) - AC_REQUIRE([gl_PREREQ_XSTRTOL]) -]) diff --git a/m4/xstrtol.m4 b/m4/xstrtol.m4 index fa6e5c407..cd5a549dd 100644 --- a/m4/xstrtol.m4 +++ b/m4/xstrtol.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 9 dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,31 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_XSTRTOL], [ - AC_LIBSOURCES([xstrtol.c, xstrtol.h, xstrtoul.c, intprops.h]) AC_LIBOBJ([xstrtol]) AC_LIBOBJ([xstrtoul]) - - AC_REQUIRE([gl_PREREQ_XSTRTOL]) - AC_REQUIRE([gl_PREREQ_XSTRTOUL]) -]) - -# Prerequisites of lib/xstrtol.h. -AC_DEFUN([gl_PREREQ_XSTRTOL_H], -[ - AC_REQUIRE([gl_AC_TYPE_INTMAX_T]) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) -]) - -# Prerequisites of lib/xstrtol.c. -AC_DEFUN([gl_PREREQ_XSTRTOL], -[ - AC_REQUIRE([gl_PREREQ_XSTRTOL_H]) - AC_CHECK_DECLS_ONCE([strtoimax]) - AC_CHECK_DECLS_ONCE([strtoumax]) -]) - -# Prerequisites of lib/xstrtoul.c. -AC_DEFUN([gl_PREREQ_XSTRTOUL], -[ - AC_REQUIRE([gl_PREREQ_XSTRTOL]) ]) diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4 deleted file mode 100644 index afac77b38..000000000 --- a/m4/xstrtoumax.m4 +++ /dev/null @@ -1,14 +0,0 @@ -#serial 7 -dnl Cloned from xstrtoimax.m4. Keep these files in sync. - -dnl Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -AC_DEFUN([gl_XSTRTOUMAX], -[ - dnl Prerequisites of lib/xstrtoumax.c. - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) - AC_REQUIRE([gl_PREREQ_XSTRTOL]) -]) diff --git a/modules/backupfile b/modules/backupfile index e8fde212f..bb140b588 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -6,11 +6,11 @@ Files: lib/backupfile.h lib/backupfile.c m4/dos.m4 -m4/d-ino.m4 m4/backupfile.m4 Depends-on: argmatch +d-ino dirname stdbool diff --git a/modules/cycle-check b/modules/cycle-check index e1dad6867..8421cc880 100644 --- a/modules/cycle-check +++ b/modules/cycle-check @@ -10,11 +10,13 @@ Depends-on: dev-ino same-inode stdbool +stdint configure.ac: gl_CYCLE_CHECK Makefile.am: +lib_SOURCES += cycle-check.h Include: "cycle-check.h" diff --git a/modules/d-ino b/modules/d-ino new file mode 100644 index 000000000..a83f3d989 --- /dev/null +++ b/modules/d-ino @@ -0,0 +1,20 @@ +Description: +Check whether struct dirent has a member named d_ino. + +Files: +m4/d-ino.m4 + +Depends-on: + +configure.ac: +gl_CHECK_TYPE_STRUCT_DIRENT_D_INO + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/d-type b/modules/d-type new file mode 100644 index 000000000..8cc1c8e71 --- /dev/null +++ b/modules/d-type @@ -0,0 +1,20 @@ +Description: +Check whether struct dirent has a member named d_type. + +Files: +m4/d-type.m4 + +Depends-on: + +configure.ac: +gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/error b/modules/error index 77186074c..4e999ca88 100644 --- a/modules/error +++ b/modules/error @@ -5,7 +5,6 @@ Files: lib/error.h lib/error.c m4/error.m4 -m4/strerror_r.m4 Depends-on: diff --git a/modules/filemode b/modules/filemode index b45e692e7..02cd1215b 100644 --- a/modules/filemode +++ b/modules/filemode @@ -6,6 +6,7 @@ Files: lib/filemode.h lib/filemode.c m4/filemode.m4 +m4/st_dm_mode.m4 Depends-on: stat-macros diff --git a/modules/fsusage b/modules/fsusage index 2c961b2a4..6e1eb53c5 100644 --- a/modules/fsusage +++ b/modules/fsusage @@ -4,20 +4,18 @@ Return file system space usage info. Files: lib/fsusage.h lib/fsusage.c -m4/ulonglong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 m4/fsusage.m4 Depends-on: full-read stdbool +stdint configure.ac: gl_FSUSAGE Makefile.am: +lib_SOURCES += fsusage.h Include: "fsusage.h" diff --git a/modules/getcwd b/modules/getcwd index 0f3871201..35c641257 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -4,13 +4,13 @@ Return the current working directory. Files: lib/getcwd.h lib/getcwd.c -m4/d-ino.m4 m4/getcwd-abort-bug.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 Depends-on: mempcpy +d-ino extensions stdbool diff --git a/modules/getndelim2 b/modules/getndelim2 index 1907d2236..6bd69b3d4 100644 --- a/modules/getndelim2 +++ b/modules/getndelim2 @@ -9,6 +9,7 @@ m4/getndelim2.m4 Depends-on: ssize_t +stdint configure.ac: gl_GETNDELIM2 diff --git a/modules/glob b/modules/glob index 8317a67ea..8db534f6e 100644 --- a/modules/glob +++ b/modules/glob @@ -6,11 +6,11 @@ Files: lib/glob_.h lib/glob-libc.h lib/glob.c -m4/d-type.m4 m4/glob.m4 Depends-on: alloca +d-type extensions fnmatch getlogin_r diff --git a/modules/host-os b/modules/host-os new file mode 100644 index 000000000..12692dbf3 --- /dev/null +++ b/modules/host-os @@ -0,0 +1,20 @@ +Description: +Define HOST_OPERATING_SYSTEM to a name for the host operating system. + +Files: +m4/host-os.m4 + +Depends-on: + +configure.ac: +gl_HOST_OS + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/modules/human b/modules/human index 838caecec..c0aa62cae 100644 --- a/modules/human +++ b/modules/human @@ -5,10 +5,6 @@ with K/M/G suffix. Files: lib/human.h lib/human.c -m4/ulonglong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 m4/human.m4 Depends-on: @@ -18,11 +14,13 @@ error intprops xstrtoumax stdbool +stdint configure.ac: gl_HUMAN Makefile.am: +lib_SOURCES += human.h Include: "human.h" diff --git a/modules/inttostr b/modules/inttostr index ed57e43c6..075a3e8b5 100644 --- a/modules/inttostr +++ b/modules/inttostr @@ -7,22 +7,17 @@ lib/inttostr.c lib/inttostr.h lib/offtostr.c lib/umaxtostr.c -m4/intmax_t.m4 m4/inttostr.m4 -m4/inttypes_h.m4 -m4/longlong.m4 -m4/stdint_h.m4 -m4/uintmax_t.m4 -m4/ulonglong.m4 Depends-on: intprops +stdint configure.ac: gl_INTTOSTR Makefile.am: -EXTRA_DIST += inttostr.c +EXTRA_DIST += inttostr.c inttostr.h Include: "inttostr.h" diff --git a/modules/lchmod b/modules/lchmod new file mode 100644 index 000000000..78d7829e2 --- /dev/null +++ b/modules/lchmod @@ -0,0 +1,22 @@ +Description: +lchmod that is actually chmod (!) on hosts lacking lchmod + +Files: +lib/lchmod.h +m4/lchmod.m4 + +Depends-on: + +configure.ac: +gl_FUNC_LCHMOD + +Makefile.am: + +Include: +"lchown.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/modules/link-follow b/modules/link-follow new file mode 100644 index 000000000..15a19f446 --- /dev/null +++ b/modules/link-follow @@ -0,0 +1,20 @@ +Description: +Determine whether link("symlink", "foo") follows the symlink. + +Files: +m4/link-follow.m4 + +Depends-on: + +configure.ac: +gl_AC_FUNC_LINK_FOLLOWS_SYMLINK + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/mkdir-p b/modules/mkdir-p index 28cabda21..1e7dabed6 100644 --- a/modules/mkdir-p +++ b/modules/mkdir-p @@ -4,15 +4,14 @@ Ensure that a directory and its parents exist. Files: lib/dirchownmod.c lib/dirchownmod.h -lib/lchmod.h lib/mkdir-p.c lib/mkdir-p.h -m4/lchmod.m4 m4/mkdir-p.m4 Depends-on: error gettext-h +lchmod lchown mkancesdirs quote diff --git a/modules/mkstemp b/modules/mkstemp index e56ced20d..4c090feaa 100644 --- a/modules/mkstemp +++ b/modules/mkstemp @@ -4,14 +4,11 @@ mkstemp() function: create a private temporary file. Files: lib/mkstemp.c lib/tempname.c -m4/ulonglong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 m4/mkstemp.m4 Depends-on: stat-macros +stdint sys_stat configure.ac: diff --git a/modules/obstack b/modules/obstack index 7eab2066a..af12846b9 100644 --- a/modules/obstack +++ b/modules/obstack @@ -4,19 +4,16 @@ Memory allocation, optimized for stack-like allocation patterns. Files: lib/obstack.h lib/obstack.c -m4/inttypes_h.m4 -m4/obstack.m4 -m4/stdint_h.m4 -m4/uintmax_t.m4 -m4/ulonglong.m4 Depends-on: gettext-h exit exitfail +stdint configure.ac: -gl_OBSTACK +AC_FUNC_OBSTACK +dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). Makefile.am: diff --git a/modules/perl b/modules/perl new file mode 100644 index 000000000..017ba57a3 --- /dev/null +++ b/modules/perl @@ -0,0 +1,20 @@ +Description: +Find a new-enough version of Perl. + +Files: +m4/perl.m4 + +Depends-on: + +configure.ac: +gl_PERL + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/regex b/modules/regex index 3f88f4051..5ca9a7f2d 100644 --- a/modules/regex +++ b/modules/regex @@ -16,6 +16,7 @@ alloca extensions gettext-h malloc +stdint strcase ssize_t diff --git a/modules/rmdir-errno b/modules/rmdir-errno new file mode 100644 index 000000000..d0b81b6e5 --- /dev/null +++ b/modules/rmdir-errno @@ -0,0 +1,20 @@ +Description: +rmdir errno for nonempty directories + +Files: +m4/rmdir-errno.m4 + +Depends-on: + +configure.ac: +gl_FUNC_RMDIR_NOTEMPTY + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/strtoimax b/modules/strtoimax index 2f5fe593b..4e6da27f9 100644 --- a/modules/strtoimax +++ b/modules/strtoimax @@ -4,15 +4,13 @@ strtoimax() function: convert string to 'intmax_t'. Files: lib/strtoimax.c m4/longlong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/intmax_t.m4 m4/strtoimax.m4 Depends-on: strtoll verify inttypes +stdint configure.ac: gl_FUNC_STRTOIMAX diff --git a/modules/strtoumax b/modules/strtoumax index b8eadb4f0..169f28f02 100644 --- a/modules/strtoumax +++ b/modules/strtoumax @@ -4,15 +4,13 @@ strtoumax() function: convert string to 'uintmax_t'. Files: lib/strtoumax.c m4/ulonglong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 m4/strtoumax.m4 Depends-on: strtoimax strtoull inttypes +stdint configure.ac: gl_FUNC_STRTOUMAX @@ -26,4 +24,3 @@ GPL Maintainer: Paul Eggert - diff --git a/modules/ullong_max b/modules/ullong_max deleted file mode 100644 index e6648c17e..000000000 --- a/modules/ullong_max +++ /dev/null @@ -1,21 +0,0 @@ -Description: -The maximum unsigned long long value, as a preprocessor constant. - -Files: -m4/ullong_max.m4 - -Depends-on: - -configure.ac: -gl_ULLONG_MAX - -Makefile.am: - -Include: - - -License: -GPL - -Maintainer: -Paul Eggert diff --git a/modules/unlink-busy b/modules/unlink-busy new file mode 100644 index 000000000..96d7b3149 --- /dev/null +++ b/modules/unlink-busy @@ -0,0 +1,20 @@ +Description: +Test whether a running program can be unlinked. + +Files: +m4/unlink-busy.m4 + +Depends-on: + +configure.ac: +gl_FUNC_UNLINK_BUSY_TEXT + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/uptime b/modules/uptime new file mode 100644 index 000000000..93c5f4ae5 --- /dev/null +++ b/modules/uptime @@ -0,0 +1,20 @@ +Description: +Test whether /proc/uptime might exist. + +Files: +m4/uptime.m4 + +Depends-on: + +configure.ac: +gl_SYS_PROC_UPTIME + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/utimecmp b/modules/utimecmp index af72a78bc..a042393d7 100644 --- a/modules/utimecmp +++ b/modules/utimecmp @@ -14,6 +14,7 @@ utimens xalloc intprops stdbool +stdint verify configure.ac: diff --git a/modules/winsz-ioctl b/modules/winsz-ioctl new file mode 100644 index 000000000..9e1c37e2a --- /dev/null +++ b/modules/winsz-ioctl @@ -0,0 +1,21 @@ +Description: +Test whether use of TIOCGWINSZ requires sys/ioctl.h. + +Files: +m4/jm-winsz2.m4 + +Depends-on: +winsz-termios + +configure.ac: +gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/winsz-termios b/modules/winsz-termios new file mode 100644 index 000000000..6e7e38bfe --- /dev/null +++ b/modules/winsz-termios @@ -0,0 +1,21 @@ +Description: +Test whether use of TIOCGWINSZ requires termios.h. + +Files: +m4/jm-winsz1.m4 + +Depends-on: + +configure.ac: +gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H +gl_WINSIZE_IN_PTEM + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/modules/xnanosleep b/modules/xnanosleep index 5acf1d389..fa063cb76 100644 --- a/modules/xnanosleep +++ b/modules/xnanosleep @@ -7,6 +7,7 @@ lib/xnanosleep.c m4/xnanosleep.m4 Depends-on: +nanosleep timespec intprops stdbool diff --git a/modules/xstrtoimax b/modules/xstrtoimax index 190b13ecb..3ab662302 100644 --- a/modules/xstrtoimax +++ b/modules/xstrtoimax @@ -2,16 +2,13 @@ Description: Convert string to 'intmax_t', with error checking. Files: - lib/xstrtoimax.c -m4/xstrtoimax.m4 Depends-on: xstrtol strtoimax configure.ac: -gl_XSTRTOIMAX Makefile.am: lib_SOURCES += xstrtoimax.c @@ -24,4 +21,3 @@ GPL Maintainer: Paul Eggert - diff --git a/modules/xstrtol b/modules/xstrtol index f1faa0998..128d6bd26 100644 --- a/modules/xstrtol +++ b/modules/xstrtol @@ -5,23 +5,19 @@ Files: lib/xstrtol.h lib/xstrtol.c lib/xstrtoul.c -m4/ulonglong.m4 -m4/longlong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 -m4/intmax_t.m4 m4/xstrtol.m4 Depends-on: exitfail error intprops +inttypes configure.ac: gl_XSTRTOL Makefile.am: +lib_SOURCES += xstrtol.h Include: "xstrtol.h" diff --git a/modules/xstrtoumax b/modules/xstrtoumax index 91891c0a0..0d8ad36f6 100644 --- a/modules/xstrtoumax +++ b/modules/xstrtoumax @@ -3,14 +3,12 @@ Convert string to 'uintmax_t', with error checking. Files: lib/xstrtoumax.c -m4/xstrtoumax.m4 Depends-on: xstrtol strtoumax configure.ac: -gl_XSTRTOUMAX Makefile.am: lib_SOURCES += xstrtoumax.c @@ -23,4 +21,3 @@ GPL Maintainer: Paul Eggert - -- 2.11.0