Gnulib Module List

This is a list of the modules which make up gnulib, with dependencies.

Support for systems lacking ANSI C 89

exit exit() function: program termination.
atexit atexit() function: register a function to be called at program termination.
strtod strtod() function: convert string to 'double'.
strtol strtol() function: convert string to 'long'.
strtoul strtoul() function: convert string to 'unsigned long'.
memchr memchr() function: scan memory for a byte.
memcmp memcmp() function: compare memory areas.
memcpy memcpy() function: copy memory area.
memmove memmove() function: copy memory area.
memset memset() function: fill memory with a constant byte.
strcspn strcspn() function: search a string for any of a set of characters.
strpbrk strpbrk() function: search a string for any of a set of characters.
strstr strstr() function: search for a substring in a string.
strerror strerror() function: return string describing error code.
mktime mktime() function: convert broken-down time to linear time.
Most of these modules are not listed among dependencies below, for simplicity.

Enhancements for ANSI C 89 functions

Diagnostics <assert.h>

assert Allow the installer to disable assertions through "configure --disable-assert".
verify Compile-time assert-like macros.

Memory management functions <stdlib.h>

calloc calloc() function that is glibc compatible.
eealloc Memory allocation with expensive empty allocations (glibc compatible).
free Work around incompatibility on older systems where free (NULL) fails.
malloc malloc() function that is glibc compatible.
realloc realloc() function that is glibc compatible.
pagealign_alloc Memory allocation aligned on page boundaries.

Date and time <time.h>

fprintftime like nstrftime, but output the formatted date to a FILE* stream
strftime nstrftime() function: convert date and time to string, with GNU extensions.

Extra functions based on ANSI C 89

Memory management functions <stdlib.h>

xsize Checked size_t computations.
xalloc Memory allocation with out-of-memory checking. Also see xalloc-die.
xalloc-die Report a memory allocation failure and exit.
alloca Memory allocation on the stack.
alloca-opt Memory allocation on the stack, as an optional optimization. It allows using the alloca() macro if and only if the autoconf tests define HAVE_ALLOCA.
allocsa Safe automatic memory allocation.
xallocsa Safe automatic memory allocation with out of memory checking.

Integer arithmetic functions <stdlib.h>

gcd Greatest common divisor.
minmax MIN, MAX macros.

Environment variables <stdlib.h>

putenv putenv() function: change or add an environment variable.
setenv setenv() function: set an environment variable. unsetenv() function: remove an environment variable.
xsetenv xsetenv() function: set an environment variable, with out-of-memory checking. unsetenv() function: remove an environment variable.

Character handling <ctype.h>

c-ctype Character handling in C locale.

String handling <string.h>

bcopy Old BSD bcopy() function: copy memory area.
memmem memmem() function: locate first substring in a buffer.
mempcpy mempcpy() function: copy memory area, return point after last written byte.
memrchr memrchr() function: scan memory for a byte, from the right end.
stpcpy stpcpy() function: copy a string, returning a pointer to its end.
stpncpy stpncpy() function: copy a size-bounded string, returning a pointer to its end.
c-strcase Case-insensitive string comparison functions in C locale.
strcase Case-insensitive string comparison functions.
c-strcasestr Case-insensitive searching in a string in C locale.
strcasestr strcasestr() function: case-insensitive search for a substring in a string.
strchrnul strchrnul(): Find the first occurrence of C in S or the final NUL byte.
strdup strdup() function: duplicate a string.
strnlen strnlen() function: determine the length of a size-bounded string.
strnlen1 Quick string length estimation.
strndup strndup() function: duplicate a size-bounded string.
strsep strsep() function: extract token from string.
c-strstr Search for a substring in a string in C locale.
trim trim() removes leading and/or trailing whitespaces
xstrndup Duplicate a bounded initial segment of a string, with out-of-memory checking.

Numeric conversion functions <stdlib.h>

c-strtod Convert string to double in C locale.
c-strtold Convert string to long double in C locale.
xstrtod Convert string to 'double', with error checking.
xstrtol Convert string to 'long' or 'unsigned long', with error checking.
xstrtold Convert string to 'long double', with error checking.

Date and time <time.h>

getdate Convert a date/time string to linear time.
timegm Convert calendar time to simple time, inverse of mktime.
tzset tzset - initialize time conversion information

Input/Output <stdio.h>

unlocked-io Enable faster, non-thread-safe stdio functions if available.
fwriteerror Detect write error on a stream.
vasnprintf vsprintf with automatic memory allocation and bounded output size.
vasprintf vsprintf with automatic memory allocation.
xvasprintf vasprintf and asprintf with out-of-memory checking. Also see xalloc-die.

Signal handling <signal.h>

fatal-signal Emergency actions in case of a fatal signal.
raise Send a signal to the executing process.

Command-line arguments

argmatch Search for an exact or abbreviated match of a string in an array of strings.
version-etc Print --version output.
version-etc-fsf Copyright variable for FSF projects
long-options Handle --help and --version options.

Container data structures

list Abstract sequential list data type.
array-list Sequential list data type implemented by an array.
carray-list Sequential list data type implemented by a circular array.
linked-list Sequential list data type implemented by a linked list.
avltree-list Sequential list data type implemented by a binary tree.
rbtree-list Sequential list data type implemented by a binary tree.
linkedhash-list Sequential list data type implemented by a hash table with a linked list.
avltreehash-list Sequential list data type implemented by a hash table with a binary tree.
rbtreehash-list Sequential list data type implemented by a hash table with a binary tree.
oset Abstract ordered set data type.
array-oset Ordered set data type implemented by an array.
avltree-oset Ordered set data type implemented by a binary tree.
rbtree-oset Ordered set data type implemented by a binary tree.

Cryptographic computations

md5 Compute MD5 checksum.
sha1 Compute SHA1 checksum.

Misc

base64 Encode binary data using printable characters (base64).
check-version Check version string compatibility.
diacrit Decomposition of composed ISO-8859-1 characters.
getline Read a line from a stream.
getdelim Read character delimited data from a stream.
getnline Read a line from a stream, with bounded memory allocation.
getndelim2 Read a line from a stream, stopping at one of 2 delimiters, with bounded memory allocation.
linebuffer Read a line from a stream.
obstack Memory allocation, optimized for stack-like allocation patterns.
hash-pjw Compute a hash value for a NUL-terminated string.
hash Parametrizable hash table.
readline Simple implementation of readline.
readtokens Read tokens from a stream.
readtokens0 Read NUL-separated tokens from a stream.
strverscmp Compare strings holding version numbers.

Support for systems lacking ISO C 99

Core language properties

flexmember Flexible array member support
vararrays Variable-length arrays

Sizes of integer types <limits.h>

size_max Provide SIZE_MAX.

Variable arguments <stdarg.h>

stdarg An <stdarg.h> that conforms to C99.

Boolean type and values <stdbool.h>

stdbool An <stdbool.h> that nearly conforms to C99. (Nearly: casts to bool may not work.)

Integer types and values <stdint.h>

stdint A <stdint.h> that nearly conforms to C99. Assumes typical host with 8-bit bytes, two's complement representation, and no padding or trap representations, with int widths equal to 8, 16, 32, and 64 bits. {uint,int}_fast{8,16,32,64}_t may not correspond to the fastest types available on the system. Macros are used instead of typedefs.

Input/output <stdio.h>

snprintf snprintf() function: print formatted output to a fixed length string
vsnprintf vsnprintf() function: print formatted output from an stdarg argument list to a fixed length string

Numeric conversion functions <stdlib.h>

strtoll strtoll() function: convert string to 'long long'.
strtoull strtoull() function: convert string to 'unsigned long long'.

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

strtoimax strtoimax() function: convert string to 'intmax_t'.
strtoumax strtoumax() function: convert string to 'uintmax_t'.

Wide character classification and mapping utilities <wctype.h>

wctype A <wctype.h> that conforms better to C99.

Mathematics <math.h>

mathl C99 functions for transcendental functions with long double arguments.

Enhancements for ISO C 99 functions

Extra functions based on ISO C 99

Numeric conversion functions <stdlib.h>

intprops Properties of integer types
inttostr Convert integers to printable strings.
xstrtoimax Convert string to 'intmax_t', with error checking.
xstrtoumax Convert string to 'uintmax_t', with error checking.

Extended multibyte and wide character utilities <wchar.h>

mbchar Multibyte character data type.
mbiter Iterating through multibyte strings.
mbuiter Iterating through multibyte strings.
mbfile Multibyte character I/O.

Support for systems lacking POSIX:2001

chown chown() function: change ownership of a file.
dup2 dup2() function: duplicate an open file descriptor.
ftruncate ftruncate() function: truncate an open file to a specified length.
getaddrinfo getaddrinfo() function: Get address information.
getcwd Return the current working directory.
getgroups getgroups() function: return the supplementary group IDs of the current process.
gethostname gethostname() function: Return machine's hostname.
getlogin_r getlogin_r() function: Get user name to a buffer allocated by the caller.
getsubopt getsubopt: Parse comma separate list into words.
gettimeofday gettimeofday() function: return current time.
inet_ntop Convert internet address from internal to printable, presentable format.
inet_pton Convert internet address from presentation to internal, binary, format.
mkdir mkdir() function: create a directory.
mkdtemp mkdtemp() function: create a private temporary directory.
mkstemp mkstemp() function: create a private temporary file.
poll poll() function: wait for some event on a set of file descriptors.
readlink readlink() function: read the value of a symbolic link.
lstat lstat() function: return information about a file or symbolic link.
tempname gen_tempname() function: create a private temporary file or directory.
time_r Reentrant time functions like localtime_r.
timespec struct timespec.
nanosleep nanosleep() function: pause execution for a specified time.
regex Regular expression matching.
rename rename() function: change the name or location of a file.
rmdir rmdir() function: delete a directory.
sigprocmask POSIX compatible signal blocking.
ssize_t Define ssize_t if it does not already exist.
strtok_r strtok_r() function: split string into tokens, thread safe.
sys_stat A <sys/stat.h> for systems with missing declarations.
tsearch Binary tree data structure.
unistd A <unistd.h> for systems lacking it.
utime utime() function: change access and/or modification times of a file.
wcwidth Determine the number of screen columns needed for a character.

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.
rename-dest-slash rename() function: change the name or location of a file.
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 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 variables.
canonicalize Return the canonical absolute name of a given file.
canonicalize-lgpl Canonical absolute file name (LGPLed version).
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.)
double-slash-root Check whether // is distinct from /.
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.
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.
openat Open a file at a directory.
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 directory.
save-cwd Save and restore the current working directory.
savedir Return the entries of a directory (just the names) as an argz string.
savewd Save and restore the working directory, possibly using a child process.
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.
isapipe Test whether a file descriptor is a pipe.

File stream based Input/Output

close-stream Close a stream, with nicer error checking than fclose's.
closeout Close standard output and standard error, 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.
striconv Character set conversion of strings made easy, uses iconv.
xstriconv Character set conversion of strings made easy, uses iconv, with out-of-memory checking.
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 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

absolute-header Allows wrapping a broken system header in a gnulib replacement.
config-h Assume config.h exists, to avoid -DHAVE_CONFIG_H clutter in 'make' output.
configmake Variables set by "configure" or "make".
dummy A dummy file, to make sure the library is non-empty.
elisp-comp Compile Emacs Lisp files.
ldd Command to determine the dynamically linked dependencies of a program.
lib-ignore If possible, ignore libraries that are not depended on.
no-c++ Support for compiling in C mode when CC is set to a C++ compiler.

Support for building documentation

fdl Provide the GNU Free Documentation License in Texinfo format.
gendocs Generate manuals in several formats from Texinfo sources,
gpl Provide the GNU General Public License in Texinfo format.
lgpl Provide the GNU Lesser General Public License in Texinfo format.
regexprops-generic Describe the various regular expression flavors.

Support for maintaining and release projects

gnupload Upload PGP signed files to gnu.org. See http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html for more information.
maintainer-makefile Helper GNUmakefile with syntax checks, build improvements, etc.

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" ---
AC_DEFINE([GNULIB_EXIT], [1],
[Define to 1 when using the gnulib module exit.])
---
atexit #include <stdlib.h> atexit.c atexit.m4
gl_FUNC_ATEXIT

AC_DEFINE([GNULIB_ATEXIT], [1],
[Define to 1 when using the gnulib module atexit.])
---
strtod #include <stdlib.h> strtod.c strtod.m4
gl_FUNC_STRTOD

AC_DEFINE([GNULIB_STRTOD], [1],
[Define to 1 when using the gnulib module strtod.])
---
strtol #include <stdlib.h> strtol.c strtol.m4
gl_FUNC_STRTOL

AC_DEFINE([GNULIB_STRTOL], [1],
[Define to 1 when using the gnulib module strtol.])
---
strtoul #include <stdlib.h> strtoul.c strtoul.m4
gl_FUNC_STRTOUL

AC_DEFINE([GNULIB_STRTOUL], [1],
[Define to 1 when using the gnulib module strtoul.])
strtol
memchr #include <string.h> memchr.c memchr.m4
gl_FUNC_MEMCHR

AC_DEFINE([GNULIB_MEMCHR], [1],
[Define to 1 when using the gnulib module memchr.])
---
memcmp #include <string.h> memcmp.c memcmp.m4
gl_FUNC_MEMCMP

AC_DEFINE([GNULIB_MEMCMP], [1],
[Define to 1 when using the gnulib module memcmp.])
---
memcpy #include <string.h> memcpy.c memcpy.m4
gl_FUNC_MEMCPY

AC_DEFINE([GNULIB_MEMCPY], [1],
[Define to 1 when using the gnulib module memcpy.])
---
memmove #include <string.h> memmove.c memmove.m4
gl_FUNC_MEMMOVE

AC_DEFINE([GNULIB_MEMMOVE], [1],
[Define to 1 when using the gnulib module memmove.])
---
memset #include <string.h> memset.c memset.m4
gl_FUNC_MEMSET

AC_DEFINE([GNULIB_MEMSET], [1],
[Define to 1 when using the gnulib module memset.])
---
strcspn #include <string.h> strcspn.c strcspn.m4
gl_FUNC_STRCSPN

AC_DEFINE([GNULIB_STRCSPN], [1],
[Define to 1 when using the gnulib module strcspn.])
---
strpbrk #include "strpbrk.h" strpbrk.c strpbrk.m4
gl_FUNC_STRPBRK

AC_DEFINE([GNULIB_STRPBRK], [1],
[Define to 1 when using the gnulib module strpbrk.])
---
strstr #include "strstr.h" strstr.c strstr.m4
mbrtowc.m4
gl_FUNC_STRSTR

AC_DEFINE([GNULIB_STRSTR], [1],
[Define to 1 when using the gnulib module strstr.])
mbuiter
strerror #include <string.h> strerror.c strerror.m4
gl_FUNC_STRERROR

AC_DEFINE([GNULIB_STRERROR], [1],
[Define to 1 when using the gnulib module strerror.])
---
mktime #include <time.h> mktime.c mktime.m4
gl_FUNC_MKTIME

AC_DEFINE([GNULIB_MKTIME], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_ASSERT], [1],
[Define to 1 when using the gnulib module assert.])
---
verify #include "verify.h" ---
AC_DEFINE([GNULIB_VERIFY], [1],
[Define to 1 when using the gnulib module verify.])
---

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

AC_DEFINE([GNULIB_CALLOC], [1],
[Define to 1 when using the gnulib module calloc.])
---
eealloc #include <eealloc.h> eealloc.h eealloc.m4
gl_EEALLOC

AC_DEFINE([GNULIB_EEALLOC], [1],
[Define to 1 when using the gnulib module eealloc.])
---
free #include <stdlib.h> free.c free.m4
gl_FUNC_FREE

AC_DEFINE([GNULIB_FREE], [1],
[Define to 1 when using the gnulib module free.])
---
malloc #include <stdlib.h> malloc.c AC_FUNC_MALLOC

AC_DEFINE([GNULIB_MALLOC], [1],
[Define to 1 when using the gnulib module malloc.])
---
realloc #include <stdlib.h> realloc.c AC_FUNC_REALLOC

AC_DEFINE([GNULIB_REALLOC], [1],
[Define to 1 when using the gnulib module realloc.])
---
pagealign_alloc #include "pagealign_alloc.h" pagealign_alloc.c mmap-anon.m4
pagealign_alloc.m4
gl_PAGEALIGN_ALLOC

AC_DEFINE([GNULIB_PAGEALIGN_ALLOC], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_FPRINTFTIME], [1],
[Define to 1 when using the gnulib module fprintftime.])
strftime
strftime #include "strftime.h" strftime.c mbstate_t.m4
tm_gmtoff.m4
strftime.m4
gl_FUNC_GNU_STRFTIME

AC_DEFINE([GNULIB_STRFTIME], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_XSIZE], [1],
[Define to 1 when using the gnulib module xsize.])
size_max
xalloc #include "xalloc.h" xmalloc.c xalloc.m4
gl_XALLOC

AC_DEFINE([GNULIB_XALLOC], [1],
[Define to 1 when using the gnulib module xalloc.])
inline
xalloc-die
xalloc-die #include "xalloc.h" xalloc-die.c
AC_DEFINE([GNULIB_XALLOC_DIE], [1],
[Define to 1 when using the gnulib module xalloc-die.])
xalloc
error
gettext-h
exitfail
alloca #include <alloca.h> alloca.c
AC_DEFINE([GNULIB_ALLOCA], [1],
[Define to 1 when using the gnulib module alloca.])
alloca-opt
alloca-opt #include <alloca.h> alloca_.h alloca.m4
gl_FUNC_ALLOCA

AC_DEFINE([GNULIB_ALLOCA_OPT], [1],
[Define to 1 when using the gnulib module alloca-opt.])
---
allocsa #include "allocsa.h" allocsa.c
allocsa.valgrind
allocsa.m4
eealloc.m4
longlong.m4
longdouble.m4
gl_ALLOCSA

AC_DEFINE([GNULIB_ALLOCSA], [1],
[Define to 1 when using the gnulib module allocsa.])
alloca-opt
xallocsa #include "xallocsa.h" xallocsa.c
AC_DEFINE([GNULIB_XALLOCSA], [1],
[Define to 1 when using the gnulib module xallocsa.])
allocsa
xalloc

Integer arithmetic functions <stdlib.h>

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
gcd #include "gcd.h" gcd.c
AC_DEFINE([GNULIB_GCD], [1],
[Define to 1 when using the gnulib module gcd.])
---
minmax #include "minmax.h" --- minmax.m4
gl_MINMAX

AC_DEFINE([GNULIB_MINMAX], [1],
[Define to 1 when using the gnulib module minmax.])
---

Environment variables <stdlib.h>

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
putenv --- putenv.c putenv.m4
gl_FUNC_PUTENV

AC_DEFINE([GNULIB_PUTENV], [1],
[Define to 1 when using the gnulib module putenv.])
---
setenv #include "setenv.h" setenv.c
unsetenv.c
setenv.m4
gt_FUNC_SETENV

AC_DEFINE([GNULIB_SETENV], [1],
[Define to 1 when using the gnulib module setenv.])
allocsa
alloca-opt
unistd
xsetenv #include "xsetenv.h" xsetenv.c
AC_DEFINE([GNULIB_XSETENV], [1],
[Define to 1 when using the gnulib module xsetenv.])
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
AC_DEFINE([GNULIB_C_CTYPE], [1],
[Define to 1 when using the gnulib module c-ctype.])
stdbool

String handling <string.h>

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
bcopy --- bcopy.c AC_REPLACE_FUNCS(bcopy)

AC_DEFINE([GNULIB_BCOPY], [1],
[Define to 1 when using the gnulib module bcopy.])
---
memmem #include "memmem.h" memmem.c memmem.m4
gl_FUNC_MEMMEM

AC_DEFINE([GNULIB_MEMMEM], [1],
[Define to 1 when using the gnulib module memmem.])
---
mempcpy #include "mempcpy.h" mempcpy.c mempcpy.m4
gl_FUNC_MEMPCPY

AC_DEFINE([GNULIB_MEMPCPY], [1],
[Define to 1 when using the gnulib module mempcpy.])
---
memrchr #include "memrchr.h" memrchr.c memrchr.m4
gl_FUNC_MEMRCHR

AC_DEFINE([GNULIB_MEMRCHR], [1],
[Define to 1 when using the gnulib module memrchr.])
---
stpcpy #include "stpcpy.h" stpcpy.c stpcpy.m4
gl_FUNC_STPCPY

AC_DEFINE([GNULIB_STPCPY], [1],
[Define to 1 when using the gnulib module stpcpy.])
---
stpncpy #include "stpncpy.h" stpncpy.c stpncpy.m4
gl_FUNC_STPNCPY

AC_DEFINE([GNULIB_STPNCPY], [1],
[Define to 1 when using the gnulib module stpncpy.])
---
c-strcase #include "c-strcase.h" c-strcasecmp.c
c-strncasecmp.c

AC_DEFINE([GNULIB_C_STRCASE], [1],
[Define to 1 when using the gnulib module c-strcase.])
c-ctype
strcase #include "strcase.h" strcasecmp.c
strncasecmp.c
strcase.m4
mbrtowc.m4
gl_STRCASE

AC_DEFINE([GNULIB_STRCASE], [1],
[Define to 1 when using the gnulib module strcase.])
mbuiter
c-strcasestr #include "c-strcasestr.h" c-strcasestr.c
AC_DEFINE([GNULIB_C_STRCASESTR], [1],
[Define to 1 when using the gnulib module c-strcasestr.])
c-ctype
strcasestr #include "strcasestr.h" strcasestr.c strcasestr.m4
mbrtowc.m4
gl_FUNC_STRCASESTR

AC_DEFINE([GNULIB_STRCASESTR], [1],
[Define to 1 when using the gnulib module strcasestr.])
mbuiter
strchrnul #include "strchrnul.h" strchrnul.c strchrnul.m4
gl_FUNC_STRCHRNUL

AC_DEFINE([GNULIB_STRCHRNUL], [1],
[Define to 1 when using the gnulib module strchrnul.])
---
strdup #include "strdup.h" strdup.c strdup.m4
gl_FUNC_STRDUP

AC_DEFINE([GNULIB_STRDUP], [1],
[Define to 1 when using the gnulib module strdup.])
---
strnlen #include "strnlen.h" strnlen.c strnlen.m4
gl_FUNC_STRNLEN

AC_DEFINE([GNULIB_STRNLEN], [1],
[Define to 1 when using the gnulib module strnlen.])
extensions
strnlen1 #include "strnlen1.h" strnlen1.c
AC_DEFINE([GNULIB_STRNLEN1], [1],
[Define to 1 when using the gnulib module strnlen1.])
memchr
strndup #include "strndup.h" strndup.c strndup.m4
gl_FUNC_STRNDUP

AC_DEFINE([GNULIB_STRNDUP], [1],
[Define to 1 when using the gnulib module strndup.])
strnlen
strsep #include "strsep.h" strsep.c strsep.m4
gl_FUNC_STRSEP

AC_DEFINE([GNULIB_STRSEP], [1],
[Define to 1 when using the gnulib module strsep.])
strpbrk
c-strstr #include "c-strstr.h" c-strstr.c
AC_DEFINE([GNULIB_C_STRSTR], [1],
[Define to 1 when using the gnulib module c-strstr.])
---
trim #include "trim.h" trim.c
AC_DEFINE([GNULIB_TRIM], [1],
[Define to 1 when using the gnulib module trim.])
xalloc
mbiter
xstrndup #include "xstrndup.h" xstrndup.c xstrndup.m4
gl_XSTRNDUP

AC_DEFINE([GNULIB_XSTRNDUP], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_C_STRTOD], [1],
[Define to 1 when using the gnulib module c-strtod.])
extensions
xalloc
c-strtold #include "c-strtod.h" c-strtod.c
c-strtold.c
c-strtod.m4
gl_C_STRTOLD

AC_DEFINE([GNULIB_C_STRTOLD], [1],
[Define to 1 when using the gnulib module c-strtold.])
extensions
xalloc
xstrtod #include "xstrtod.h" xstrtod.c xstrtod.m4
gl_XSTRTOD

AC_DEFINE([GNULIB_XSTRTOD], [1],
[Define to 1 when using the gnulib module xstrtod.])
stdbool
xstrtol #include "xstrtol.h" xstrtol.c
xstrtoul.c
xstrtol.m4
gl_XSTRTOL

AC_DEFINE([GNULIB_XSTRTOL], [1],
[Define to 1 when using the gnulib module xstrtol.])
exitfail
error
gettext-h
intprops
inttypes
xstrtold #include "xstrtod.h" xstrtod.c
xstrtold.c
xstrtod.m4
gl_XSTRTOLD

AC_DEFINE([GNULIB_XSTRTOLD], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_GETDATE], [1],
[Define to 1 when using the gnulib module getdate.])
timespec
stdbool
gettime
mktime
setenv
xalloc
timegm #include "timegm.h" timegm.c timegm.m4
gl_FUNC_TIMEGM

AC_DEFINE([GNULIB_TIMEGM], [1],
[Define to 1 when using the gnulib module timegm.])
mktime
time_r
tzset #include <time.h> --- tzset.m4
gl_FUNC_TZSET_CLOBBER

AC_DEFINE([GNULIB_TZSET], [1],
[Define to 1 when using the gnulib module tzset.])
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

AC_DEFINE([GNULIB_UNLOCKED_IO], [1],
[Define to 1 when using the gnulib module unlocked-io.])
extensions
fwriteerror #include "fwriteerror.h" fwriteerror.c AC_DEFINE([GNULIB_FWRITEERROR], 1,
[Define to 1 when using the gnulib fwriteerror module.])

AC_DEFINE([GNULIB_FWRITEERROR], [1],
[Define to 1 when using the gnulib module fwriteerror.])
stdbool
vasnprintf #include "vasnprintf.h" printf-args.h
printf-args.c
printf-parse.h
printf-parse.c
vasnprintf.c
asnprintf.c
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

AC_DEFINE([GNULIB_VASNPRINTF], [1],
[Define to 1 when using the gnulib module vasnprintf.])
alloca-opt
xsize
vasprintf #include "vasprintf.h" vasprintf.c
asprintf.c
vasprintf.m4
gl_FUNC_VASPRINTF

AC_DEFINE([GNULIB_VASPRINTF], [1],
[Define to 1 when using the gnulib module vasprintf.])
vasnprintf
xvasprintf #include "xvasprintf.h" xvasprintf.c
xasprintf.c
xalloc.h
xvasprintf.m4
gl_XVASPRINTF

AC_DEFINE([GNULIB_XVASPRINTF], [1],
[Define to 1 when using the gnulib module 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
sig_atomic_t.m4
gl_FATAL_SIGNAL

AC_DEFINE([GNULIB_FATAL_SIGNAL], [1],
[Define to 1 when using the gnulib module fatal-signal.])
xalloc
stdbool
unistd
sigprocmask
raise --- raise.c AC_REPLACE_FUNCS(raise)

AC_DEFINE([GNULIB_RAISE], [1],
[Define to 1 when using the gnulib module raise.])
---

Command-line arguments

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
argmatch #include "argmatch.h" argmatch.c argmatch.m4
gl_ARGMATCH

AC_DEFINE([GNULIB_ARGMATCH], [1],
[Define to 1 when using the gnulib module argmatch.])
gettext-h
error
quotearg
quote
exit
exitfail
verify
stdbool
version-etc #include "version-etc.h" version-etc.c
AC_DEFINE([GNULIB_VERSION_ETC], [1],
[Define to 1 when using the gnulib module version-etc.])
gettext-h
stdarg
version-etc-fsf --- version-etc-fsf.c
AC_DEFINE([GNULIB_VERSION_ETC_FSF], [1],
[Define to 1 when using the gnulib module version-etc-fsf.])
version-etc
long-options #include "long-options.h" long-options.c long-options.m4
gl_LONG_OPTIONS

AC_DEFINE([GNULIB_LONG_OPTIONS], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_LIST], [1],
[Define to 1 when using the gnulib module list.])
inline
stdbool
array-list #include "gl_array_list.h" gl_array_list.c
AC_DEFINE([GNULIB_ARRAY_LIST], [1],
[Define to 1 when using the gnulib module array-list.])
list
xalloc
xsize
carray-list #include "gl_carray_list.h" gl_carray_list.c
AC_DEFINE([GNULIB_CARRAY_LIST], [1],
[Define to 1 when using the gnulib module carray-list.])
list
xalloc
xsize
linked-list #include "gl_linked_list.h" gl_linked_list.c
gl_anylinked_list1.h
gl_anylinked_list2.h

AC_DEFINE([GNULIB_LINKED_LIST], [1],
[Define to 1 when using the gnulib module linked-list.])
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

AC_DEFINE([GNULIB_AVLTREE_LIST], [1],
[Define to 1 when using the gnulib module avltree-list.])
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

AC_DEFINE([GNULIB_RBTREE_LIST], [1],
[Define to 1 when using the gnulib module rbtree-list.])
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

AC_DEFINE([GNULIB_LINKEDHASH_LIST], [1],
[Define to 1 when using the gnulib module linkedhash-list.])
list
stdint
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

AC_DEFINE([GNULIB_AVLTREEHASH_LIST], [1],
[Define to 1 when using the gnulib module avltreehash-list.])
list
avltree-oset
stdint
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

AC_DEFINE([GNULIB_RBTREEHASH_LIST], [1],
[Define to 1 when using the gnulib module rbtreehash-list.])
list
rbtree-oset
stdint
xalloc
xsize
oset #include "gl_oset.h" gl_oset.c gl_list.m4
gl_LIST

AC_DEFINE([GNULIB_OSET], [1],
[Define to 1 when using the gnulib module oset.])
inline
stdbool
array-oset #include "gl_array_oset.h" gl_array_oset.c
AC_DEFINE([GNULIB_ARRAY_OSET], [1],
[Define to 1 when using the gnulib module array-oset.])
oset
xalloc
xsize
avltree-oset #include "gl_avltree_oset.h" gl_avltree_oset.c
gl_anytree_oset.h

AC_DEFINE([GNULIB_AVLTREE_OSET], [1],
[Define to 1 when using the gnulib module avltree-oset.])
oset
xalloc
rbtree-oset #include "gl_rbtree_oset.h" gl_rbtree_oset.c
gl_anytree_oset.h

AC_DEFINE([GNULIB_RBTREE_OSET], [1],
[Define to 1 when using the gnulib module rbtree-oset.])
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

AC_DEFINE([GNULIB_MD5], [1],
[Define to 1 when using the gnulib module md5.])
stdint
sha1 #include "sha1.h" sha1.c sha1.m4
gl_SHA1

AC_DEFINE([GNULIB_SHA1], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_BASE64], [1],
[Define to 1 when using the gnulib module base64.])
stdbool
check-version #include "check-version.h" check-version.c check-version.m4
gl_CHECK_VERSION

AC_DEFINE([GNULIB_CHECK_VERSION], [1],
[Define to 1 when using the gnulib module check-version.])
strverscmp
diacrit #include "diacrit.h" diacrit.c
AC_DEFINE([GNULIB_DIACRIT], [1],
[Define to 1 when using the gnulib module diacrit.])
---
getline #include "getline.h" getline.c getline.m4
gl_FUNC_GETLINE

AC_DEFINE([GNULIB_GETLINE], [1],
[Define to 1 when using the gnulib module getline.])
getdelim
getdelim #include "getdelim.h" getdelim.c getdelim.m4
gl_FUNC_GETDELIM

AC_DEFINE([GNULIB_GETDELIM], [1],
[Define to 1 when using the gnulib module getdelim.])
---
getnline #include "getnline.h" getnline.c getnline.m4
gl_GETNLINE

AC_DEFINE([GNULIB_GETNLINE], [1],
[Define to 1 when using the gnulib module getnline.])
getndelim2
ssize_t
getndelim2 #include "getndelim2.h" getndelim2.c getndelim2.m4
gl_GETNDELIM2

AC_DEFINE([GNULIB_GETNDELIM2], [1],
[Define to 1 when using the gnulib module getndelim2.])
ssize_t
stdint
linebuffer #include "linebuffer.h" linebuffer.c
AC_DEFINE([GNULIB_LINEBUFFER], [1],
[Define to 1 when using the gnulib module linebuffer.])
xalloc
obstack #include "obstack.h" obstack.c AC_FUNC_OBSTACK
dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).

AC_DEFINE([GNULIB_OBSTACK], [1],
[Define to 1 when using the gnulib module obstack.])
gettext-h
exit
exitfail
stdint
hash-pjw #include "hash-pjw.h" hash-pjw.c
AC_DEFINE([GNULIB_HASH_PJW], [1],
[Define to 1 when using the gnulib module hash-pjw.])
---
hash #include "hash.h" hash.c hash.m4
gl_HASH

AC_DEFINE([GNULIB_HASH], [1],
[Define to 1 when using the gnulib module hash.])
stdbool
xalloc
readline #include "readline.h" readline.c readline.m4
gl_FUNC_READLINE

AC_DEFINE([GNULIB_READLINE], [1],
[Define to 1 when using the gnulib module readline.])
getline
havelib
readtokens #include "readtokens.h" readtokens.c readtokens.m4
gl_READTOKENS

AC_DEFINE([GNULIB_READTOKENS], [1],
[Define to 1 when using the gnulib module readtokens.])
xalloc
stdbool
readtokens0 #include "readtokens0.h" readtokens0.c
AC_DEFINE([GNULIB_READTOKENS0], [1],
[Define to 1 when using the gnulib module readtokens0.])
obstack
stdbool
strverscmp #include "strverscmp.h" strverscmp.c strverscmp.m4
gl_FUNC_STRVERSCMP

AC_DEFINE([GNULIB_STRVERSCMP], [1],
[Define to 1 when using the gnulib module strverscmp.])
---

Support for systems lacking ISO C 99

Core language properties

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

AC_DEFINE([GNULIB_FLEXMEMBER], [1],
[Define to 1 when using the gnulib module flexmember.])
---
vararrays --- --- vararrays.m4
AC_C_VARARRAYS

AC_DEFINE([GNULIB_VARARRAYS], [1],
[Define to 1 when using the gnulib module vararrays.])
---

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

AC_DEFINE([GNULIB_SIZE_MAX], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_STDARG], [1],
[Define to 1 when using the gnulib module stdarg.])
---

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

AC_DEFINE([GNULIB_STDBOOL], [1],
[Define to 1 when using the gnulib module stdbool.])
---

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
longlong.m4
ulonglong.m4
gl_STDINT_H

AC_DEFINE([GNULIB_STDINT], [1],
[Define to 1 when using the gnulib module stdint.])
absolute-header

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

AC_DEFINE([GNULIB_SNPRINTF], [1],
[Define to 1 when using the gnulib module snprintf.])
vasnprintf
vsnprintf #include "vsnprintf.h" vsnprintf.c vsnprintf.m4
gl_FUNC_VSNPRINTF

AC_DEFINE([GNULIB_VSNPRINTF], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_STRTOLL], [1],
[Define to 1 when using the gnulib module strtoll.])
strtol
strtoull #include <stdlib.h> strtoull.c ulonglong.m4
strtoull.m4
gl_FUNC_STRTOULL

AC_DEFINE([GNULIB_STRTOULL], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_STRTOIMAX], [1],
[Define to 1 when using the gnulib module strtoimax.])
strtoll
verify
inttypes
stdint
strtoumax --- strtoumax.c ulonglong.m4
strtoumax.m4
gl_FUNC_STRTOUMAX

AC_DEFINE([GNULIB_STRTOUMAX], [1],
[Define to 1 when using the gnulib module strtoumax.])
strtoimax
strtoull
inttypes
stdint

Wide character classification and mapping utilities <wctype.h>

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
wctype #include <wctype.h> wctype_.h wctype.m4
wint_t.m4
gl_WCTYPE_H

AC_DEFINE([GNULIB_WCTYPE], [1],
[Define to 1 when using the gnulib module wctype.])
absolute-header

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

AC_DEFINE([GNULIB_MATHL], [1],
[Define to 1 when using the gnulib module mathl.])
---

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" ---
AC_DEFINE([GNULIB_INTPROPS], [1],
[Define to 1 when using the gnulib module intprops.])
---
inttostr #include "inttostr.h" imaxtostr.c
inttostr.c
offtostr.c
umaxtostr.c
uinttostr.c
inttostr.m4
gl_INTTOSTR

AC_DEFINE([GNULIB_INTTOSTR], [1],
[Define to 1 when using the gnulib module inttostr.])
intprops
stdint
xstrtoimax #include "xstrtol.h" xstrtoimax.c
AC_DEFINE([GNULIB_XSTRTOIMAX], [1],
[Define to 1 when using the gnulib module xstrtoimax.])
xstrtol
strtoimax
xstrtoumax #include "xstrtol.h" xstrtoumax.c
AC_DEFINE([GNULIB_XSTRTOUMAX], [1],
[Define to 1 when using the gnulib module 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
#include "mbchar.h"
#endif
mbchar.c mbchar.m4
gl_MBCHAR

AC_DEFINE([GNULIB_MBCHAR], [1],
[Define to 1 when using the gnulib module mbchar.])
stdbool
wctype
wcwidth
mbiter #if HAVE_MBRTOWC
#include "mbiter.h"
#endif
--- mbiter.m4
mbrtowc.m4
gl_MBITER

AC_DEFINE([GNULIB_MBITER], [1],
[Define to 1 when using the gnulib module mbiter.])
mbchar
stdbool
mbuiter #if HAVE_MBRTOWC
#include "mbuiter.h"
#endif
--- mbiter.m4
mbrtowc.m4
gl_MBITER

AC_DEFINE([GNULIB_MBUITER], [1],
[Define to 1 when using the gnulib module mbuiter.])
mbchar
stdbool
strnlen1
mbfile #if HAVE_MBRTOWC
#include "mbfile.h"
#endif
--- mbfile.m4
mbrtowc.m4
gl_MBFILE

AC_DEFINE([GNULIB_MBFILE], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_CHOWN], [1],
[Define to 1 when using the gnulib module chown.])
sys_stat
dup2 #include <unistd.h> dup2.c dup2.m4
gl_FUNC_DUP2

AC_DEFINE([GNULIB_DUP2], [1],
[Define to 1 when using the gnulib module dup2.])
---
ftruncate #include <unistd.h> ftruncate.c ftruncate.m4
gl_FUNC_FTRUNCATE

AC_DEFINE([GNULIB_FTRUNCATE], [1],
[Define to 1 when using the gnulib module ftruncate.])
---
getaddrinfo #include "getaddrinfo.h" getaddrinfo.c
gai_strerror.c
getaddrinfo.m4
gl_GETADDRINFO

AC_DEFINE([GNULIB_GETADDRINFO], [1],
[Define to 1 when using the gnulib module getaddrinfo.])
gettext-h
inet_ntop
snprintf
socklen
stdbool
strdup
sys_socket
getcwd #include "getcwd.h" getcwd.c getcwd-abort-bug.m4
getcwd-path-max.m4
getcwd.m4
gl_FUNC_GETCWD

AC_DEFINE([GNULIB_GETCWD], [1],
[Define to 1 when using the gnulib module getcwd.])
mempcpy
d-ino
extensions
stdbool
getgroups #include <unistd.h> getgroups.c getgroups.m4
gl_FUNC_GETGROUPS

AC_DEFINE([GNULIB_GETGROUPS], [1],
[Define to 1 when using the gnulib module getgroups.])
xalloc
gethostname --- gethostname.c gethostname.m4
gl_FUNC_GETHOSTNAME

AC_DEFINE([GNULIB_GETHOSTNAME], [1],
[Define to 1 when using the gnulib module gethostname.])
---
getlogin_r #include "getlogin_r.h" getlogin_r.c getlogin_r.m4
gl_GETLOGIN_R

AC_DEFINE([GNULIB_GETLOGIN_R], [1],
[Define to 1 when using the gnulib module getlogin_r.])
extensions
unistd
getsubopt #include "getsubopt.h" getsubopt.c getsubopt.m4
gl_FUNC_GETSUBOPT

AC_DEFINE([GNULIB_GETSUBOPT], [1],
[Define to 1 when using the gnulib module getsubopt.])
strchrnul
gettimeofday #include <sys/time.h> gettimeofday.c gettimeofday.m4
AC_FUNC_GETTIMEOFDAY_CLOBBER

AC_DEFINE([GNULIB_GETTIMEOFDAY], [1],
[Define to 1 when using the gnulib module gettimeofday.])
---
inet_ntop #include "inet_ntop.h" inet_ntop.c inet_ntop.m4
gl_INET_NTOP

AC_DEFINE([GNULIB_INET_NTOP], [1],
[Define to 1 when using the gnulib module inet_ntop.])
socklen
sys_socket
arpa_inet
netinet_in
inet_pton #include "inet_pton.h" inet_pton.c inet_pton.m4
gl_INET_PTON

AC_DEFINE([GNULIB_INET_PTON], [1],
[Define to 1 when using the gnulib module inet_pton.])
socklen
sys_socket
arpa_inet
netinet_in
mkdir #include <sys/stat.h> mkdir.c mkdir-slash.m4
gl_FUNC_MKDIR_TRAILING_SLASH

AC_DEFINE([GNULIB_MKDIR], [1],
[Define to 1 when using the gnulib module mkdir.])
xalloc
dirname
mkdtemp #include "mkdtemp.h" mkdtemp.c mkdtemp.m4
gt_FUNC_MKDTEMP

AC_DEFINE([GNULIB_MKDTEMP], [1],
[Define to 1 when using the gnulib module mkdtemp.])
stdint
tempname
mkstemp #include "mkstemp.h" mkstemp.c mkstemp.m4
gl_FUNC_MKSTEMP

AC_DEFINE([GNULIB_MKSTEMP], [1],
[Define to 1 when using the gnulib module mkstemp.])
extensions
tempname
poll #include <poll.h> poll.c
poll_.h
poll.m4
gl_FUNC_POLL

AC_DEFINE([GNULIB_POLL], [1],
[Define to 1 when using the gnulib module poll.])
---
readlink --- readlink.c readlink.m4
gl_FUNC_READLINK

AC_DEFINE([GNULIB_READLINK], [1],
[Define to 1 when using the gnulib module readlink.])
---
lstat #include "lstat.h" lstat.c lstat.m4
gl_FUNC_LSTAT

AC_DEFINE([GNULIB_LSTAT], [1],
[Define to 1 when using the gnulib module lstat.])
sys_stat
tempname #include "tempname.h" tempname.c tempname.m4
gl_FUNC_GEN_TEMPNAME

AC_DEFINE([GNULIB_TEMPNAME], [1],
[Define to 1 when using the gnulib module tempname.])
extensions
stdint
sys_stat
time_r #include "time_r.h" time_r.c time_r.m4
gl_TIME_R

AC_DEFINE([GNULIB_TIME_R], [1],
[Define to 1 when using the gnulib module time_r.])
extensions
timespec #include "timespec.h" --- timespec.m4
gl_TIMESPEC

AC_DEFINE([GNULIB_TIMESPEC], [1],
[Define to 1 when using the gnulib module timespec.])
extensions
nanosleep #include "timespec.h" nanosleep.c nanosleep.m4
gl_FUNC_NANOSLEEP

AC_DEFINE([GNULIB_NANOSLEEP], [1],
[Define to 1 when using the gnulib module nanosleep.])
clock-time
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

AC_DEFINE([GNULIB_REGEX], [1],
[Define to 1 when using the gnulib module regex.])
alloca
extensions
gettext-h
malloc
stdint
strcase
ssize_t
wctype
rename #include <stdio.h> rename.c rename.m4
gl_FUNC_RENAME

AC_DEFINE([GNULIB_RENAME], [1],
[Define to 1 when using the gnulib module rename.])
xalloc
dirname
rmdir #include <unistd.h> rmdir.c rmdir.m4
gl_FUNC_RMDIR

AC_DEFINE([GNULIB_RMDIR], [1],
[Define to 1 when using the gnulib module rmdir.])
sys_stat
sigprocmask #include "sigprocmask.h" sigprocmask.c signalblocking.m4
gl_SIGNALBLOCKING

AC_DEFINE([GNULIB_SIGPROCMASK], [1],
[Define to 1 when using the gnulib module sigprocmask.])
verify
stdint
ssize_t #include <sys/types.h> --- ssize_t.m4
gt_TYPE_SSIZE_T

AC_DEFINE([GNULIB_SSIZE_T], [1],
[Define to 1 when using the gnulib module ssize_t.])
---
strtok_r #include "strtok_r.h" strtok_r.c strtok_r.m4
gl_FUNC_STRTOK_R

AC_DEFINE([GNULIB_STRTOK_R], [1],
[Define to 1 when using the gnulib module strtok_r.])
---
sys_stat #include <sys/stat.h> stat_.h sys_stat_h.m4
gl_HEADER_SYS_STAT_H

AC_DEFINE([GNULIB_SYS_STAT], [1],
[Define to 1 when using the gnulib module sys_stat.])
absolute-header
tsearch #include "tsearch.h" tsearch.c tsearch.m4
gl_FUNC_TSEARCH

AC_DEFINE([GNULIB_TSEARCH], [1],
[Define to 1 when using the gnulib module tsearch.])
---
unistd #include <unistd.h> --- unistd_h.m4
gl_HEADER_UNISTD

AC_DEFINE([GNULIB_UNISTD], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_UTIME], [1],
[Define to 1 when using the gnulib module utime.])
safe-read
full-write
wcwidth #include "wcwidth.h" --- wcwidth.m4
wchar_t.m4
wint_t.m4
gl_FUNC_WCWIDTH

AC_DEFINE([GNULIB_WCWIDTH], [1],
[Define to 1 when using the gnulib module wcwidth.])
wctype

Compatibility checks for POSIX:2001 functions

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
d-ino --- --- d-ino.m4
gl_CHECK_TYPE_STRUCT_DIRENT_D_INO

AC_DEFINE([GNULIB_D_INO], [1],
[Define to 1 when using the gnulib module d-ino.])
---
d-type --- --- d-type.m4
gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE

AC_DEFINE([GNULIB_D_TYPE], [1],
[Define to 1 when using the gnulib module d-type.])
---
link-follow --- --- link-follow.m4
gl_AC_FUNC_LINK_FOLLOWS_SYMLINK

AC_DEFINE([GNULIB_LINK_FOLLOW], [1],
[Define to 1 when using the gnulib module link-follow.])
---
rename-dest-slash #include <stdio.h> rename-dest-slash.c rename-dest-slash.m4
gl_FUNC_RENAME_TRAILING_DEST_SLASH

AC_DEFINE([GNULIB_RENAME_DEST_SLASH], [1],
[Define to 1 when using the gnulib module rename-dest-slash.])
xalloc
dirname
rmdir-errno --- --- rmdir-errno.m4
gl_FUNC_RMDIR_NOTEMPTY

AC_DEFINE([GNULIB_RMDIR_ERRNO], [1],
[Define to 1 when using the gnulib module rmdir-errno.])
---
unlink-busy --- --- unlink-busy.m4
gl_FUNC_UNLINK_BUSY_TEXT

AC_DEFINE([GNULIB_UNLINK_BUSY], [1],
[Define to 1 when using the gnulib module unlink-busy.])
---
winsz-ioctl --- --- jm-winsz2.m4
gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL

AC_DEFINE([GNULIB_WINSZ_IOCTL], [1],
[Define to 1 when using the gnulib module winsz-ioctl.])
winsz-termios
winsz-termios --- --- jm-winsz1.m4
gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
gl_WINSIZE_IN_PTEM

AC_DEFINE([GNULIB_WINSZ_TERMIOS], [1],
[Define to 1 when using the gnulib module winsz-termios.])
---

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
dirname.m4
dos.m4
gl_DIRNAME

AC_DEFINE([GNULIB_DIRNAME], [1],
[Define to 1 when using the gnulib module dirname.])
double-slash-root
stdbool
xalloc
xstrndup
getopt #include <getopt.h> getopt_.h
getopt.c
getopt1.c
getopt_int.h
getopt.m4
gl_GETOPT

AC_DEFINE([GNULIB_GETOPT], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_UNISTD_SAFER], [1],
[Define to 1 when using the gnulib module 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.

AC_DEFINE([GNULIB_FNMATCH], [1],
[Define to 1 when using the gnulib module fnmatch.])
alloca
stdbool
wctype
fnmatch-posix #include "fnmatch.h" --- gl_FUNC_FNMATCH_POSIX

AC_DEFINE([GNULIB_FNMATCH_POSIX], [1],
[Define to 1 when using the gnulib module fnmatch-posix.])
fnmatch
fnmatch-gnu #include "fnmatch.h" --- gl_FUNC_FNMATCH_GNU

AC_DEFINE([GNULIB_FNMATCH_GNU], [1],
[Define to 1 when using the gnulib module fnmatch-gnu.])
fnmatch
glob #include <glob.h> glob_.h
glob-libc.h
glob.c
glob.m4
gl_GLOB

AC_DEFINE([GNULIB_GLOB], [1],
[Define to 1 when using the gnulib module glob.])
alloca
d-type
extensions
fnmatch
getlogin_r
mempcpy
stdbool
strdup
sys_stat
unistd
exclude #include "exclude.h" exclude.c exclude.m4
gl_EXCLUDE

AC_DEFINE([GNULIB_EXCLUDE], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_HUMAN], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_ACL], [1],
[Define to 1 when using the gnulib module acl.])
error
quote
backupfile #include "backupfile.h" backupfile.c dos.m4
backupfile.m4
gl_BACKUPFILE

AC_DEFINE([GNULIB_BACKUPFILE], [1],
[Define to 1 when using the gnulib module backupfile.])
argmatch
d-ino
dirname
stdbool
canonicalize #include "canonicalize.h" canonicalize.c
pathmax.h
canonicalize.m4
AC_FUNC_CANONICALIZE_FILE_NAME

AC_DEFINE([GNULIB_CANONICALIZE], [1],
[Define to 1 when using the gnulib module canonicalize.])
cycle-check
filenamecat
sys_stat
xalloc
xgetcwd
xreadlink
canonicalize-lgpl #include "canonicalize.h" canonicalize-lgpl.c canonicalize-lgpl.m4
gl_CANONICALIZE_LGPL

AC_DEFINE([GNULIB_CANONICALIZE_LGPL], [1],
[Define to 1 when using the gnulib module canonicalize-lgpl.])
alloca-opt
allocsa
pathmax
readlink
clean-temp #include "clean-temp.h" clean-temp.c AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.])

AC_DEFINE([GNULIB_CLEAN_TEMP], [1],
[Define to 1 when using the gnulib module clean-temp.])
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

AC_DEFINE([GNULIB_COPY_FILE], [1],
[Define to 1 when using the gnulib module copy-file.])
error
safe-read
full-write
acl
binary-io
exit
gettext-h
unistd
cycle-check #include "cycle-check.h" cycle-check.c cycle-check.m4
gl_CYCLE_CHECK

AC_DEFINE([GNULIB_CYCLE_CHECK], [1],
[Define to 1 when using the gnulib module cycle-check.])
dev-ino
same-inode
stdbool
stdint
fsusage #include "fsusage.h" fsusage.c fsusage.m4
gl_FSUSAGE

AC_DEFINE([GNULIB_FSUSAGE], [1],
[Define to 1 when using the gnulib module fsusage.])
full-read
stdbool
stdint
dirfd #include "dirfd.h" dirfd.c dirfd.m4
gl_FUNC_DIRFD

AC_DEFINE([GNULIB_DIRFD], [1],
[Define to 1 when using the gnulib module dirfd.])
---
double-slash-root --- --- double-slash-root.m4
gl_DOUBLE_SLASH_ROOT

AC_DEFINE([GNULIB_DOUBLE_SLASH_ROOT], [1],
[Define to 1 when using the gnulib module double-slash-root.])
---
euidaccess #include "euidaccess.h" euidaccess.c euidaccess.m4
gl_FUNC_EUIDACCESS

AC_DEFINE([GNULIB_EUIDACCESS], [1],
[Define to 1 when using the gnulib module euidaccess.])
group-member
sys_stat
file-type #include "file-type.h" file-type.c file-type.m4
gl_FILE_TYPE

AC_DEFINE([GNULIB_FILE_TYPE], [1],
[Define to 1 when using the gnulib module file-type.])
gettext-h
sys_stat
fileblocks --- fileblocks.c fileblocks.m4
gl_FILEBLOCKS

AC_DEFINE([GNULIB_FILEBLOCKS], [1],
[Define to 1 when using the gnulib module fileblocks.])
---
filemode #include "filemode.h" filemode.c filemode.m4
st_dm_mode.m4
gl_FILEMODE

AC_DEFINE([GNULIB_FILEMODE], [1],
[Define to 1 when using the gnulib module filemode.])
sys_stat
filenamecat #include "filenamecat.h" filenamecat.c dos.m4
filenamecat.m4
gl_FILE_NAME_CONCAT

AC_DEFINE([GNULIB_FILENAMECAT], [1],
[Define to 1 when using the gnulib module filenamecat.])
xalloc
dirname
fts #include "fts_.h" fts.c
fts-cycle.c
fts.m4
gl_FUNC_FTS

AC_DEFINE([GNULIB_FTS], [1],
[Define to 1 when using the gnulib module fts.])
cycle-check
d-type
dirfd
fcntl
fcntl-safer
hash
i-ring
lstat
openat
stdbool
unistd-safer
fts-lgpl #include "fts_.h" fts.c fts.m4
gl_FUNC_FTS_LGPL

AC_DEFINE([GNULIB_FTS_LGPL], [1],
[Define to 1 when using the gnulib module fts-lgpl.])
dirfd
i-ring
openat
stdbool
isdir --- isdir.c isdir.m4
gl_ISDIR

AC_DEFINE([GNULIB_ISDIR], [1],
[Define to 1 when using the gnulib module isdir.])
---
lchmod #include "lchmod.h" --- lchmod.m4
gl_FUNC_LCHMOD

AC_DEFINE([GNULIB_LCHMOD], [1],
[Define to 1 when using the gnulib module lchmod.])
---
lchown #include "lchown.h" lchown.c lchown.m4
gl_FUNC_LCHOWN

AC_DEFINE([GNULIB_LCHOWN], [1],
[Define to 1 when using the gnulib module lchown.])
chown
sys_stat
mkancesdirs #include "mkancesdirs.h" mkancesdirs.c mkancesdirs.m4
gl_MKANCESDIRS

AC_DEFINE([GNULIB_MKANCESDIRS], [1],
[Define to 1 when using the gnulib module mkancesdirs.])
dirname
fcntl
savewd
stat-macros
sys_stat
mkdir-p #include "mkdir-p.h" dirchownmod.c
dirchownmod.h
mkdir-p.c
mkdir-p.m4
gl_MKDIR_PARENTS

AC_DEFINE([GNULIB_MKDIR_P], [1],
[Define to 1 when using the gnulib module mkdir-p.])
error
fcntl
gettext-h
lchmod
lchown
mkancesdirs
quote
savewd
stat-macros
stdbool
sys_stat
modechange #include "modechange.h" modechange.c modechange.m4
gl_MODECHANGE

AC_DEFINE([GNULIB_MODECHANGE], [1],
[Define to 1 when using the gnulib module modechange.])
stat-macros
sys_stat
xalloc
mountlist #include "mountlist.h" mountlist.c ls-mntd-fs.m4
fstypename.m4
mountlist.m4
gl_MOUNTLIST

AC_DEFINE([GNULIB_MOUNTLIST], [1],
[Define to 1 when using the gnulib module mountlist.])
stdbool
xalloc
openat #include "openat.h" at-func.c
fchmodat.c
fchownat.c
fstatat.c
mkdirat.c
openat.c
openat-die.c
openat-priv.h
openat-proc.c
openat.m4
gl_FUNC_OPENAT

AC_DEFINE([GNULIB_OPENAT], [1],
[Define to 1 when using the gnulib module openat.])
dirname
extensions
gettext-h
intprops
lchown
lstat
same-inode
save-cwd
stdbool
pathname #include "pathname.h" concatpath.c
AC_DEFINE([GNULIB_PATHNAME], [1],
[Define to 1 when using the gnulib module pathname.])
xalloc
stpcpy
pathmax #include "pathmax.h" --- pathmax.m4
gl_PATHMAX

AC_DEFINE([GNULIB_PATHMAX], [1],
[Define to 1 when using the gnulib module pathmax.])
---
same #include "same.h" same.c same.m4
gl_SAME

AC_DEFINE([GNULIB_SAME], [1],
[Define to 1 when using the gnulib module same.])
xalloc
error
dirname
same-inode
stdbool
save-cwd #include "save-cwd.h" save-cwd.c save-cwd.m4
gl_SAVE_CWD

AC_DEFINE([GNULIB_SAVE_CWD], [1],
[Define to 1 when using the gnulib module save-cwd.])
chdir-long
fcntl-safer
xgetcwd
stdbool
savedir #include "savedir.h" savedir.c savedir.m4
gl_SAVEDIR

AC_DEFINE([GNULIB_SAVEDIR], [1],
[Define to 1 when using the gnulib module savedir.])
openat
xalloc
savewd #include "savewd.h" savewd.c savewd.m4
gl_SAVEWD

AC_DEFINE([GNULIB_SAVEWD], [1],
[Define to 1 when using the gnulib module savewd.])
dirname
exit
fcntl-safer
fcntl
raise
stdbool
xalloc
stat-time #include "stat-time.h" --- stat-time.m4
gl_STAT_TIME

AC_DEFINE([GNULIB_STAT_TIME], [1],
[Define to 1 when using the gnulib module stat-time.])
timespec
tmpdir #include "tmpdir.h" tmpdir.c tmpdir.m4
gt_TMPDIR

AC_DEFINE([GNULIB_TMPDIR], [1],
[Define to 1 when using the gnulib module tmpdir.])
stdbool
sys_stat
unlinkdir #include "unlinkdir.h" unlinkdir.c unlinkdir.m4
gl_UNLINKDIR

AC_DEFINE([GNULIB_UNLINKDIR], [1],
[Define to 1 when using the gnulib module unlinkdir.])
stdbool
utimecmp #include "utimecmp.h" utimecmp.c utimecmp.m4
gl_UTIMECMP

AC_DEFINE([GNULIB_UTIMECMP], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_UTIMENS], [1],
[Define to 1 when using the gnulib module utimens.])
timespec
xgetcwd #include "xgetcwd.h" xgetcwd.c xgetcwd.m4
gl_XGETCWD

AC_DEFINE([GNULIB_XGETCWD], [1],
[Define to 1 when using the gnulib module xgetcwd.])
getcwd
xalloc
stdbool
xreadlink #include "xreadlink.h" xreadlink.c xreadlink.m4
gl_XREADLINK

AC_DEFINE([GNULIB_XREADLINK], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_FCNTL_SAFER], [1],
[Define to 1 when using the gnulib module fcntl-safer.])
unistd-safer
safe-read #include "safe-read.h" safe-read.c safe-read.m4
gl_SAFE_READ

AC_DEFINE([GNULIB_SAFE_READ], [1],
[Define to 1 when using the gnulib module safe-read.])
ssize_t
safe-write #include "safe-write.h" safe-write.c safe-write.m4
gl_SAFE_WRITE

AC_DEFINE([GNULIB_SAFE_WRITE], [1],
[Define to 1 when using the gnulib module safe-write.])
safe-read
full-read #include "full-read.h" full-read.c
AC_DEFINE([GNULIB_FULL_READ], [1],
[Define to 1 when using the gnulib module full-read.])
safe-read
full-write
full-write #include "full-write.h" full-write.c
AC_DEFINE([GNULIB_FULL_WRITE], [1],
[Define to 1 when using the gnulib module full-write.])
safe-write
binary-io #include "binary-io.h" ---
AC_DEFINE([GNULIB_BINARY_IO], [1],
[Define to 1 when using the gnulib module binary-io.])
---
isapipe #include "isapipe.h" isapipe.c isapipe.m4
gl_ISAPIPE

AC_DEFINE([GNULIB_ISAPIPE], [1],
[Define to 1 when using the gnulib module isapipe.])
stdbool
sys_stat
unistd

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

AC_DEFINE([GNULIB_CLOSE_STREAM], [1],
[Define to 1 when using the gnulib module close-stream.])
fpending
stdbool
closeout #include "closeout.h" closeout.c closeout.m4
gl_CLOSEOUT

AC_DEFINE([GNULIB_CLOSEOUT], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_FOPEN_SAFER], [1],
[Define to 1 when using the gnulib module fopen-safer.])
unistd-safer
fpending #include "__fpending.h" __fpending.c fpending.m4
gl_FUNC_FPENDING

AC_DEFINE([GNULIB_FPENDING], [1],
[Define to 1 when using the gnulib module fpending.])
---
getpass #include "getpass.h" getpass.c getpass.m4
gl_FUNC_GETPASS

AC_DEFINE([GNULIB_GETPASS], [1],
[Define to 1 when using the gnulib module getpass.])
getline
stdbool
getpass-gnu #include "getpass.h" getpass.c getpass.m4
gl_FUNC_GETPASS_GNU

AC_DEFINE([GNULIB_GETPASS_GNU], [1],
[Define to 1 when using the gnulib module getpass-gnu.])
getline
stdbool
stdlib-safer #include "stdlib-safer.h" stdlib--.h
mkstemp-safer.c
stdlib-safer.m4
gl_STDLIB_SAFER

AC_DEFINE([GNULIB_STDLIB_SAFER], [1],
[Define to 1 when using the gnulib module stdlib-safer.])
mkstemp
unistd-safer
tmpfile-safer #include "stdio-safer.h" stdio--.h
tmpfile-safer.c
stdio-safer.m4
gl_TMPFILE_SAFER

AC_DEFINE([GNULIB_TMPFILE_SAFER], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_GETUGROUPS], [1],
[Define to 1 when using the gnulib module getugroups.])
---
group-member #include "group-member.h" group-member.c group-member.m4
gl_FUNC_GROUP_MEMBER

AC_DEFINE([GNULIB_GROUP_MEMBER], [1],
[Define to 1 when using the gnulib module group-member.])
xalloc
stdbool
idcache --- idcache.c idcache.m4
gl_IDCACHE

AC_DEFINE([GNULIB_IDCACHE], [1],
[Define to 1 when using the gnulib module idcache.])
flexmember
xalloc
userspec #include "userspec.h" inttostr.h
userspec.c
userspec.m4
gl_USERSPEC

AC_DEFINE([GNULIB_USERSPEC], [1],
[Define to 1 when using the gnulib module 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 gettime.m4
gl_GETTIME

AC_DEFINE([GNULIB_GETTIME], [1],
[Define to 1 when using the gnulib module gettime.])
clock-time
gettime
gettimeofday
timespec
extensions
settime #include "timespec.h" settime.c settime.m4
gl_SETTIME

AC_DEFINE([GNULIB_SETTIME], [1],
[Define to 1 when using the gnulib module settime.])
clock-time
extensions
timespec
posixtm #include "posixtm.h" posixtm.c posixtm.m4
gl_POSIXTM

AC_DEFINE([GNULIB_POSIXTM], [1],
[Define to 1 when using the gnulib module posixtm.])
mktime
stdbool
xnanosleep #include "xnanosleep.h" xnanosleep.c xnanosleep.m4
gl_XNANOSLEEP

AC_DEFINE([GNULIB_XNANOSLEEP], [1],
[Define to 1 when using the gnulib module xnanosleep.])
nanosleep
timespec
intprops
stdbool

Networking functions

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
xgethostname #include "xgethostname.h" xgethostname.c
AC_DEFINE([GNULIB_XGETHOSTNAME], [1],
[Define to 1 when using the gnulib module xgethostname.])
gethostname
xalloc
canon-host #include "canon-host.h" canon-host.c canon-host.m4
gl_CANON_HOST

AC_DEFINE([GNULIB_CANON_HOST], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_LOCK], [1],
[Define to 1 when using the gnulib module lock.])
havelib
tls #include "tls.h" tls.c tls.m4
gl_TLS

AC_DEFINE([GNULIB_TLS], [1],
[Define to 1 when using the gnulib module 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
intl.m4
intldir.m4
intmax.m4
inttypes_h.m4
inttypes-pri.m4
lcmessage.m4
lock.m4
longdouble.m4
longlong.m4
nls.m4
po.m4
printf-posix.m4
progtest.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])

AC_DEFINE([GNULIB_GETTEXT], [1],
[Define to 1 when using the gnulib module gettext.])
gettext-h
havelib
gettext-h #include "gettext.h" ---
AC_DEFINE([GNULIB_GETTEXT_H], [1],
[Define to 1 when using the gnulib module gettext-h.])
---
iconv #include <iconv.h> --- iconv.m4
AM_ICONV

AC_DEFINE([GNULIB_ICONV], [1],
[Define to 1 when using the gnulib module iconv.])
havelib
striconv #include "striconv.h" striconv.c if test $gl_cond_libtool = false; then
gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
gl_libdeps="$gl_libdeps $LIBICONV"
fi

AC_DEFINE([GNULIB_STRICONV], [1],
[Define to 1 when using the gnulib module striconv.])
iconv
strdup
c-strcase
xstriconv #include "xstriconv.h" xstriconv.c
AC_DEFINE([GNULIB_XSTRICONV], [1],
[Define to 1 when using the gnulib module xstriconv.])
striconv
xalloc
iconvme #include "iconvme.h" iconvme.c iconvme.m4
gl_ICONVME
if test $gl_cond_libtool = false; then
gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
gl_libdeps="$gl_libdeps $LIBICONV"
fi

AC_DEFINE([GNULIB_ICONVME], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_LOCALCHARSET], [1],
[Define to 1 when using the gnulib module localcharset.])
configmake
hard-locale #include "hard-locale.h" hard-locale.c hard-locale.m4
gl_HARD_LOCALE

AC_DEFINE([GNULIB_HARD_LOCALE], [1],
[Define to 1 when using the gnulib module hard-locale.])
stdbool
strdup
mbswidth #include "mbswidth.h" mbswidth.c mbstate_t.m4
mbrtowc.m4
mbswidth.m4
gl_MBSWIDTH

AC_DEFINE([GNULIB_MBSWIDTH], [1],
[Define to 1 when using the gnulib module mbswidth.])
wctype
wcwidth
memcasecmp #include "memcasecmp.h" memcasecmp.c memcasecmp.m4
gl_MEMCASECMP

AC_DEFINE([GNULIB_MEMCASECMP], [1],
[Define to 1 when using the gnulib module memcasecmp.])
---
memcoll #include "memcoll.h" memcoll.c memcoll.m4
gl_MEMCOLL

AC_DEFINE([GNULIB_MEMCOLL], [1],
[Define to 1 when using the gnulib module memcoll.])
---
xmemcoll #include "xmemcoll.h" xmemcoll.c
AC_DEFINE([GNULIB_XMEMCOLL], [1],
[Define to 1 when using the gnulib module xmemcoll.])
memcoll
gettext-h
error
quotearg
exitfail
unicodeio #include "unicodeio.h" unicodeio.c unicodeio.m4
gl_UNICODEIO

AC_DEFINE([GNULIB_UNICODEIO], [1],
[Define to 1 when using the gnulib module unicodeio.])
iconv
gettext-h
localcharset
error
rpmatch --- rpmatch.c rpmatch.m4
gl_FUNC_RPMATCH

AC_DEFINE([GNULIB_RPMATCH], [1],
[Define to 1 when using the gnulib module rpmatch.])
gettext-h
regex
yesno #include "yesno.h" yesno.c yesno.m4
gl_YESNO

AC_DEFINE([GNULIB_YESNO], [1],
[Define to 1 when using the gnulib module yesno.])
getline
rpmatch
stdbool
ucs4-utf8 --- ucs4-utf8.h ucs4-utf.m4
gl_UCS4_UTF

AC_DEFINE([GNULIB_UCS4_UTF8], [1],
[Define to 1 when using the gnulib module ucs4-utf8.])
---
ucs4-utf16 --- ucs4-utf16.h ucs4-utf.m4
gl_UCS4_UTF

AC_DEFINE([GNULIB_UCS4_UTF16], [1],
[Define to 1 when using the gnulib module ucs4-utf16.])
---
utf8-ucs4 --- utf8-ucs4.h utf-ucs4.m4
gl_UTF_UCS4

AC_DEFINE([GNULIB_UTF8_UCS4], [1],
[Define to 1 when using the gnulib module utf8-ucs4.])
---
utf16-ucs4 --- utf16-ucs4.h utf-ucs4.m4
gl_UTF_UCS4

AC_DEFINE([GNULIB_UTF16_UCS4], [1],
[Define to 1 when using the gnulib module utf16-ucs4.])
---
linebreak #include "linebreak.h" linebreak.c
lbrkprop.h
linebreak.m4
gl_LINEBREAK

AC_DEFINE([GNULIB_LINEBREAK], [1],
[Define to 1 when using the gnulib module linebreak.])
localcharset
c-ctype
iconv
utf8-ucs4
utf16-ucs4
xsize
bison-i18n --- --- bison-i18n.m4
BISON_I18N

AC_DEFINE([GNULIB_BISON_I18N], [1],
[Define to 1 when using the gnulib module bison-i18n.])
gettext

Executing programs

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
cloexec #include "cloexec.h" cloexec.c cloexec.m4
gl_CLOEXEC

AC_DEFINE([GNULIB_CLOEXEC], [1],
[Define to 1 when using the gnulib module cloexec.])
stdbool
findprog #include "findprog.h" findprog.c findprog.m4
eaccess.m4
gl_FINDPROG

AC_DEFINE([GNULIB_FINDPROG], [1],
[Define to 1 when using the gnulib module findprog.])
stdbool
xalloc
pathname
unistd
wait-process #include "wait-process.h" wait-process.c wait-process.m4
sig_atomic_t.m4
gl_WAIT_PROCESS

AC_DEFINE([GNULIB_WAIT_PROCESS], [1],
[Define to 1 when using the gnulib module wait-process.])
fatal-signal
error
exit
xalloc
gettext-h
stdbool
unistd
execute #include "execute.h" execute.c
w32spawn.h
execute.m4
gl_EXECUTE

AC_DEFINE([GNULIB_EXECUTE], [1],
[Define to 1 when using the gnulib module execute.])
error
exit
fatal-signal
wait-process
gettext-h
stdbool
strpbrk
unistd
pipe #include "pipe.h" pipe.c
w32spawn.h
pipe.m4
gl_PIPE

AC_DEFINE([GNULIB_PIPE], [1],
[Define to 1 when using the gnulib module pipe.])
wait-process
error
exit
fatal-signal
gettext-h
stdbool
strpbrk
unistd
sh-quote #include "sh-quote.h" sh-quote.c
AC_DEFINE([GNULIB_SH_QUOTE], [1],
[Define to 1 when using the gnulib module sh-quote.])
quotearg
xalloc

Java

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
classpath #include "classpath.h" classpath.c
AC_DEFINE([GNULIB_CLASSPATH], [1],
[Define to 1 when using the gnulib module classpath.])
stdbool
xsetenv
xalloc
javacomp #include "javacomp.h" javacomp.c
AC_DEFINE([GNULIB_JAVACOMP], [1],
[Define to 1 when using the gnulib module javacomp.])
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])

AC_DEFINE([GNULIB_JAVAEXEC], [1],
[Define to 1 when using the gnulib module javaexec.])
stdbool
execute
classpath
xsetenv
sh-quote
pathname
xalloc
xallocsa
error
gettext-h
javaversion #include "javaversion.h" javaversion.c
javaversion.java
javaversion.class

AC_DEFINE([GNULIB_JAVAVERSION], [1],
[Define to 1 when using the gnulib module javaversion.])
javaexec
stdbool
pipe
wait-process
getline
gettext-h
configmake

C#

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
csharpcomp #include "csharpcomp.h" csharpcomp.c
AC_DEFINE([GNULIB_CSHARPCOMP], [1],
[Define to 1 when using the gnulib module csharpcomp.])
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])

AC_DEFINE([GNULIB_CSHARPEXEC], [1],
[Define to 1 when using the gnulib module csharpexec.])
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

AC_DEFINE([GNULIB_ARGP], [1],
[Define to 1 when using the gnulib module argp.])
alloca
dirname
getopt
strchrnul
sysexits
malloc
mempcpy
strndup
strcase
extensions
vsnprintf
argz #include <argz.h> argz_.h
argz.c
argz.m4
gl_FUNC_ARGZ

AC_DEFINE([GNULIB_ARGZ], [1],
[Define to 1 when using the gnulib module argz.])
---
byteswap #include <byteswap.h> byteswap_.h byteswap.m4
gl_BYTESWAP

AC_DEFINE([GNULIB_BYTESWAP], [1],
[Define to 1 when using the gnulib module byteswap.])
---
exitfail #include "exitfail.h" exitfail.c exitfail.m4
gl_EXITFAIL

AC_DEFINE([GNULIB_EXITFAIL], [1],
[Define to 1 when using the gnulib module exitfail.])
exit
c-stack #include "c-stack.h" c-stack.c c-stack.m4
gl_C_STACK

AC_DEFINE([GNULIB_C_STACK], [1],
[Define to 1 when using the gnulib module c-stack.])
gettext-h
exitfail
unistd
error #include "error.h" error.c error.m4
gl_ERROR

AC_DEFINE([GNULIB_ERROR], [1],
[Define to 1 when using the gnulib module error.])
---
extensions --- --- extensions.m4
dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.

AC_DEFINE([GNULIB_EXTENSIONS], [1],
[Define to 1 when using the gnulib module extensions.])
---
getdomainname #include "getdomainname.h" getdomainname.c getdomainname.m4
gl_FUNC_GETDOMAINNAME

AC_DEFINE([GNULIB_GETDOMAINNAME], [1],
[Define to 1 when using the gnulib module getdomainname.])
---
xgetdomainname #include "xgetdomainname.h" xgetdomainname.c
AC_DEFINE([GNULIB_XGETDOMAINNAME], [1],
[Define to 1 when using the gnulib module xgetdomainname.])
getdomainname
xalloc
getloadavg --- getloadavg.c getloadavg.m4
gl_GETLOADAVG([$gl_source_base])

AC_DEFINE([GNULIB_GETLOADAVG], [1],
[Define to 1 when using the gnulib module getloadavg.])
cloexec
xalloc
c-strtod
intprops
stdbool
fcntl-safer
getpagesize #include "getpagesize.h" --- getpagesize.m4
gl_GETPAGESIZE

AC_DEFINE([GNULIB_GETPAGESIZE], [1],
[Define to 1 when using the gnulib module getpagesize.])
---
getusershell --- getusershell.c getusershell.m4
gl_FUNC_GETUSERSHELL

AC_DEFINE([GNULIB_GETUSERSHELL], [1],
[Define to 1 when using the gnulib module getusershell.])
fopen-safer
xalloc
physmem #include "physmem.h" physmem.c physmem.m4
gl_PHYSMEM

AC_DEFINE([GNULIB_PHYSMEM], [1],
[Define to 1 when using the gnulib module physmem.])
---
posixver #include "posixver.h" posixver.c posixver.m4
gl_POSIXVER

AC_DEFINE([GNULIB_POSIXVER], [1],
[Define to 1 when using the gnulib module posixver.])
---
progname #include "progname.h" progname.c
AC_DEFINE([GNULIB_PROGNAME], [1],
[Define to 1 when using the gnulib module progname.])
---
quotearg #include "quotearg.h" quotearg.c mbstate_t.m4
mbrtowc.m4
quotearg.m4
gl_QUOTEARG

AC_DEFINE([GNULIB_QUOTEARG], [1],
[Define to 1 when using the gnulib module quotearg.])
xalloc
gettext-h
stdbool
wctype
quote #include "quote.h" quote.c quote.m4
gl_QUOTE

AC_DEFINE([GNULIB_QUOTE], [1],
[Define to 1 when using the gnulib module quote.])
quotearg
readutmp #include "readutmp.h" readutmp.c readutmp.m4
gl_READUTMP

AC_DEFINE([GNULIB_READUTMP], [1],
[Define to 1 when using the gnulib module readutmp.])
xalloc
free
stdbool
sig2str #include "sig2str.h" sig2str.c sig2str.m4
gl_FUNC_SIG2STR

AC_DEFINE([GNULIB_SIG2STR], [1],
[Define to 1 when using the gnulib module sig2str.])
intprops
sysexits #include <sysexits.h> sysexit_.h sysexits.m4
gl_SYSEXITS

AC_DEFINE([GNULIB_SYSEXITS], [1],
[Define to 1 when using the gnulib module sysexits.])
---
verror #include "verror.h" verror.c
AC_DEFINE([GNULIB_VERROR], [1],
[Define to 1 when using the gnulib module verror.])
error
xvasprintf
visibility --- --- visibility.m4
gl_VISIBILITY

AC_DEFINE([GNULIB_VISIBILITY], [1],
[Define to 1 when using the gnulib module visibility.])
---

Support for building libraries and executables

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

AC_DEFINE([GNULIB_ABSOLUTE_HEADER], [1],
[Define to 1 when using the gnulib module absolute-header.])
---
config-h --- --- config-h.m4
gl_CONFIG_H

AC_DEFINE([GNULIB_CONFIG_H], [1],
[Define to 1 when using the gnulib module config-h.])
---
configmake #include "configmake.h" ---
AC_DEFINE([GNULIB_CONFIGMAKE], [1],
[Define to 1 when using the gnulib module configmake.])
---
dummy --- dummy.c
AC_DEFINE([GNULIB_DUMMY], [1],
[Define to 1 when using the gnulib module dummy.])
---
elisp-comp --- ---
AC_DEFINE([GNULIB_ELISP_COMP], [1],
[Define to 1 when using the gnulib module elisp-comp.])
---
ldd --- --- ldd.m4
gl_LDD
AC_CONFIG_FILES([ldd.sh:build-aux/ldd.sh.in])

AC_DEFINE([GNULIB_LDD], [1],
[Define to 1 when using the gnulib module ldd.])
---
lib-ignore --- --- lib-ignore.m4
gl_IGNORE_UNUSED_LIBRARIES

AC_DEFINE([GNULIB_LIB_IGNORE], [1],
[Define to 1 when using the gnulib module lib-ignore.])
---
no-c++ --- --- no-c++.m4
gt_NO_CXX

AC_DEFINE([GNULIB_NO_C++], [1],
[Define to 1 when using the gnulib module no-c++.])
---

Support for building documentation

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
fdl --- ---
AC_DEFINE([GNULIB_FDL], [1],
[Define to 1 when using the gnulib module fdl.])
---
gendocs --- ---
AC_DEFINE([GNULIB_GENDOCS], [1],
[Define to 1 when using the gnulib module gendocs.])
---
gpl --- ---
AC_DEFINE([GNULIB_GPL], [1],
[Define to 1 when using the gnulib module gpl.])
---
lgpl --- ---
AC_DEFINE([GNULIB_LGPL], [1],
[Define to 1 when using the gnulib module lgpl.])
---
regexprops-generic --- ---
AC_DEFINE([GNULIB_REGEXPROPS_GENERIC], [1],
[Define to 1 when using the gnulib module regexprops-generic.])
---

Support for maintaining and release projects

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
gnupload --- ---
AC_DEFINE([GNULIB_GNUPLOAD], [1],
[Define to 1 when using the gnulib module gnupload.])
---
maintainer-makefile --- --- AC_DEFINE([GNULIB_MAINTAINER_MAKEFILE], [1],
[Define to 1 when using the gnulib module maintainer-makefile.])
---

Misc

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
host-os --- --- host-os.m4
gl_HOST_OS

AC_DEFINE([GNULIB_HOST_OS], [1],
[Define to 1 when using the gnulib module host-os.])
---
perl --- --- perl.m4
gl_PERL

AC_DEFINE([GNULIB_PERL], [1],
[Define to 1 when using the gnulib module perl.])
---
uptime --- --- uptime.m4
gl_SYS_PROC_UPTIME

AC_DEFINE([GNULIB_UPTIME], [1],
[Define to 1 when using the gnulib module uptime.])
---

Unclassified modules - please update MODULES.html.sh

modules/ lib/ lib/ m4/  
Module Header Implementation Autoconf macro Depends on
announce-gen --- ---
AC_DEFINE([GNULIB_ANNOUNCE_GEN], [1],
[Define to 1 when using the gnulib module announce-gen.])
---
arcfour #include "arcfour.h" arcfour.c arcfour.m4
gl_ARCFOUR

AC_DEFINE([GNULIB_ARCFOUR], [1],
[Define to 1 when using the gnulib module arcfour.])
stdint
arctwo #include "arctwo.h" arctwo.c arctwo.m4
gl_ARCTWO

AC_DEFINE([GNULIB_ARCTWO], [1],
[Define to 1 when using the gnulib module arctwo.])
stdint
arpa_inet #include <arpa/inet.h> --- arpa_inet_h.m4
gl_HEADER_ARPA_INET

AC_DEFINE([GNULIB_ARPA_INET], [1],
[Define to 1 when using the gnulib module arpa_inet.])
sys_socket
chdir-long #include "chdir-long.h" chdir-long.c chdir-long.m4
gl_FUNC_CHDIR_LONG

AC_DEFINE([GNULIB_CHDIR_LONG], [1],
[Define to 1 when using the gnulib module chdir-long.])
fcntl
openat
mempcpy
memrchr
stdbool
chdir-safer #include "chdir-safer.h" chdir-safer.c chdir-safer.m4
gl_CHDIR_SAFER

AC_DEFINE([GNULIB_CHDIR_SAFER], [1],
[Define to 1 when using the gnulib module chdir-safer.])
fcntl
same-inode
stdbool
clock-time --- --- clock_time.m4
gl_CLOCK_TIME

AC_DEFINE([GNULIB_CLOCK_TIME], [1],
[Define to 1 when using the gnulib module clock-time.])
extensions
crc #include "crc.h" crc.c crc.m4
gl_CRC

AC_DEFINE([GNULIB_CRC], [1],
[Define to 1 when using the gnulib module crc.])
stdint
csharpcomp-script --- --- csharpcomp.m4
csharp.m4
AC_REQUIRE([gt_CSHARPCOMP])
AC_CONFIG_FILES([csharpcomp.sh:build-aux/csharpcomp.sh.in])

AC_DEFINE([GNULIB_CSHARPCOMP_SCRIPT], [1],
[Define to 1 when using the gnulib module csharpcomp-script.])
---
des #include "des.h" des.c des.m4
gl_DES

AC_DEFINE([GNULIB_DES], [1],
[Define to 1 when using the gnulib module des.])
stdint
stdbool
dev-ino #include "dev-ino.h" ---
AC_DEFINE([GNULIB_DEV_INO], [1],
[Define to 1 when using the gnulib module dev-ino.])
---
fcntl #include <fcntl.h> fcntl_.h fcntl_h.m4
gl_FCNTL_H

AC_DEFINE([GNULIB_FCNTL], [1],
[Define to 1 when using the gnulib module fcntl.])
absolute-header
unistd
gc #include "gc.h" gc-libgcrypt.c
gc-gnulib.c
gc.m4
gl_GC
if test $gl_cond_libtool = false; then
gl_ltlibdeps="$gl_ltlibdeps $LTLIBGCRYPT"
gl_libdeps="$gl_libdeps $LIBGCRYPT"
fi

AC_DEFINE([GNULIB_GC], [1],
[Define to 1 when using the gnulib module gc.])
havelib
gc-arcfour #include "gc.h" arcfour.h
arcfour.c
gc-arcfour.m4
arcfour.m4
gl_GC_ARCFOUR

AC_DEFINE([GNULIB_GC_ARCFOUR], [1],
[Define to 1 when using the gnulib module gc-arcfour.])
stdint
gc
gc-arctwo #include "gc.h" arctwo.h
arctwo.c
gc-arctwo.m4
arctwo.m4
gl_GC_ARCTWO

AC_DEFINE([GNULIB_GC_ARCTWO], [1],
[Define to 1 when using the gnulib module gc-arctwo.])
stdint
gc
gc-des #include "gc.h" des.h
des.c
gc-des.m4
des.m4
gl_GC_DES

AC_DEFINE([GNULIB_GC_DES], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_GC_HMAC_MD5], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_GC_HMAC_SHA1], [1],
[Define to 1 when using the gnulib module gc-hmac-sha1.])
stdint
gc
gc-md2 #include "gc.h" --- gc-md2.m4
gl_GC_MD2

AC_DEFINE([GNULIB_GC_MD2], [1],
[Define to 1 when using the gnulib module gc-md2.])
stdint
gc
minmax
md2
gc-md4 #include "gc.h" md4.h
md4.c
gc-md4.m4
md4.m4
gl_GC_MD4

AC_DEFINE([GNULIB_GC_MD4], [1],
[Define to 1 when using the gnulib module gc-md4.])
stdint
gc
gc-md5 #include "gc.h" md5.h
md5.c
gc-md5.m4
md5.m4
gl_GC_MD5

AC_DEFINE([GNULIB_GC_MD5], [1],
[Define to 1 when using the gnulib module gc-md5.])
stdint
gc
gc-pbkdf2-sha1 #include "gc.h" gc-pbkdf2-sha1.c gc-pbkdf2-sha1.m4
gl_GC_PBKDF2_SHA1

AC_DEFINE([GNULIB_GC_PBKDF2_SHA1], [1],
[Define to 1 when using the gnulib module gc-pbkdf2-sha1.])
gc
gc-hmac-sha1
gc-random #include "gc.h" --- gc-random.m4
gl_GC_RANDOM

AC_DEFINE([GNULIB_GC_RANDOM], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_GC_RIJNDAEL], [1],
[Define to 1 when using the gnulib module gc-rijndael.])
stdint
gc
gc-sha1 #include "gc.h" sha1.h
sha1.c
gc-sha1.m4
sha1.m4
gl_GC_SHA1

AC_DEFINE([GNULIB_GC_SHA1], [1],
[Define to 1 when using the gnulib module gc-sha1.])
stdint
gc
gethrxtime #include "xtime.h" gethrxtime.c
gethrxtime.h
gethrxtime.m4
longlong.m4
gl_GETHRXTIME

AC_DEFINE([GNULIB_GETHRXTIME], [1],
[Define to 1 when using the gnulib module gethrxtime.])
clock-time
gettime
extensions
havelib --- --- lib-ld.m4
lib-link.m4
lib-prefix.m4

AC_DEFINE([GNULIB_HAVELIB], [1],
[Define to 1 when using the gnulib module havelib.])
---
hmac-md5 #include "hmac.h" hmac-md5.c hmac-md5.m4
gl_HMAC_MD5

AC_DEFINE([GNULIB_HMAC_MD5], [1],
[Define to 1 when using the gnulib module hmac-md5.])
memxor
md5
hmac-sha1 #include "hmac.h" hmac-sha1.c hmac-sha1.m4
gl_HMAC_SHA1

AC_DEFINE([GNULIB_HMAC_SHA1], [1],
[Define to 1 when using the gnulib module hmac-sha1.])
memxor
sha1
i-ring #include "i-ring.h" i-ring.c i-ring.m4
gl_I_RING

AC_DEFINE([GNULIB_I_RING], [1],
[Define to 1 when using the gnulib module i-ring.])
verify
imaxabs #include <inttypes.h> imaxabs.c imaxabs.m4
gl_FUNC_IMAXABS

AC_DEFINE([GNULIB_IMAXABS], [1],
[Define to 1 when using the gnulib module imaxabs.])
inttypes
imaxdiv #include <inttypes.h> imaxdiv.c imaxdiv.m4
gl_FUNC_IMAXDIV

AC_DEFINE([GNULIB_IMAXDIV], [1],
[Define to 1 when using the gnulib module imaxdiv.])
inttypes
inline --- --- inline.m4
gl_INLINE

AC_DEFINE([GNULIB_INLINE], [1],
[Define to 1 when using the gnulib module inline.])
---
inttypes #include <inttypes.h> inttypes_.h inttypes-pri.m4
inttypes.m4
gl_INTTYPES_H

AC_DEFINE([GNULIB_INTTYPES], [1],
[Define to 1 when using the gnulib module inttypes.])
absolute-header
stdint
javacomp-script --- --- javacomp.m4
# You need to invoke gt_JAVACOMP yourself, possibly with arguments.
AC_CONFIG_FILES([javacomp.sh:build-aux/javacomp.sh.in])

AC_DEFINE([GNULIB_JAVACOMP_SCRIPT], [1],
[Define to 1 when using the gnulib module javacomp-script.])
---
md2 #include "md2.h" md2.c md2.m4
gl_MD2

AC_DEFINE([GNULIB_MD2], [1],
[Define to 1 when using the gnulib module md2.])
minmax
md4 #include "md4.h" md4.c md4.m4
gl_MD4

AC_DEFINE([GNULIB_MD4], [1],
[Define to 1 when using the gnulib module md4.])
stdint
memxor #include "memxor.h" memxor.c memxor.m4
gl_MEMXOR

AC_DEFINE([GNULIB_MEMXOR], [1],
[Define to 1 when using the gnulib module memxor.])
---
netinet_in #include <netinet/in.h> --- netinet_in_h.m4
gl_HEADER_NETINET_IN

AC_DEFINE([GNULIB_NETINET_IN], [1],
[Define to 1 when using the gnulib module netinet_in.])
sys_socket
read-file #include "read-file.h" read-file.c read-file.m4
gl_FUNC_READ_FILE

AC_DEFINE([GNULIB_READ_FILE], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_RIJNDAEL], [1],
[Define to 1 when using the gnulib module rijndael.])
stdint
same-inode #include "same-inode.h" ---
AC_DEFINE([GNULIB_SAME_INODE], [1],
[Define to 1 when using the gnulib module same-inode.])
---
socklen #include <sys/types.h>
#include <sys/socket.h>
--- socklen.m4
gl_TYPE_SOCKLEN_T

AC_DEFINE([GNULIB_SOCKLEN], [1],
[Define to 1 when using the gnulib module socklen.])
sys_socket
stat-macros #include "stat-macros.h" ---
AC_DEFINE([GNULIB_STAT_MACROS], [1],
[Define to 1 when using the gnulib module stat-macros.])
---
sublist #include "gl_sublist.h" gl_sublist.c
AC_DEFINE([GNULIB_SUBLIST], [1],
[Define to 1 when using the gnulib module sublist.])
list
xalloc
sys_select #include <sys/select.h> --- sys_select_h.m4
gl_HEADER_SYS_SELECT

AC_DEFINE([GNULIB_SYS_SELECT], [1],
[Define to 1 when using the gnulib module 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

AC_DEFINE([GNULIB_SYS_SOCKET], [1],
[Define to 1 when using the gnulib module sys_socket.])
---

Lone files - please create new modules containing them

lib/i-ring-test.c
lib/progreloc.c
lib/t-idcache
m4/afs.m4
m4/gnulib-tool.m4
m4/include_next.m4
m4/inttypes-h.m4
m4/isc-posix.m4
m4/onceonly.m4
m4/stat-macros.m4
m4/warning.m4

Future developments

Ideally a module could consist of:
Generated from MODULES.html.sh on 4 January 2007.