Avoid unnecessary compilation units, through conditional dependencies.
authorBruno Haible <bruno@clisp.org>
Tue, 3 May 2011 21:36:43 +0000 (23:36 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 3 May 2011 21:38:19 +0000 (23:38 +0200)
* modules/accept (Depends-on): Add conditions to the dependencies.
* modules/acosl (Depends-on): Likewise.
* modules/argz (Depends-on): Likewise.
* modules/asinl (Depends-on): Likewise.
* modules/atanl (Depends-on): Likewise.
* modules/atoll (Depends-on): Likewise.
* modules/bind (Depends-on): Likewise.
* modules/btowc (Depends-on): Likewise.
* modules/canonicalize-lgpl (Depends-on): Likewise.
* modules/ceil (Depends-on): Likewise.
* modules/ceilf (Depends-on): Likewise.
* modules/ceill (Depends-on): Likewise.
* modules/chdir-long (Depends-on): Likewise.
* modules/chown (Depends-on): Likewise.
* modules/close (Depends-on): Likewise.
* modules/connect (Depends-on): Likewise.
* modules/cosl (Depends-on): Likewise.
* modules/dirfd (Depends-on): Likewise.
* modules/dprintf (Depends-on): Likewise.
* modules/dprintf-posix (Depends-on): Likewise.
* modules/error (Depends-on): Likewise.
* modules/euidaccess (Depends-on): Likewise.
* modules/expl (Depends-on): Likewise.
* modules/faccessat (Depends-on): Likewise.
* modules/fchdir (Depends-on): Likewise.
* modules/fclose (Depends-on): Likewise.
* modules/fcntl (Depends-on): Likewise.
* modules/fdopendir (Depends-on): Likewise.
* modules/fflush (Depends-on): Likewise.
* modules/floor (Depends-on): Likewise.
* modules/floorf (Depends-on): Likewise.
* modules/floorl (Depends-on): Likewise.
* modules/fnmatch (Depends-on): Likewise.
* modules/fopen (Depends-on): Likewise.
* modules/fprintf-posix (Depends-on): Likewise.
* modules/frexp (Depends-on): Likewise.
* modules/frexp-nolibm (Depends-on): Likewise.
* modules/frexpl (Depends-on): Likewise.
* modules/frexpl-nolibm (Depends-on): Likewise.
* modules/fseek (Depends-on): Likewise.
* modules/fsusage (Depends-on): Likewise.
* modules/ftell (Depends-on): Likewise.
* modules/ftello (Depends-on): Likewise.
* modules/futimens (Depends-on): Likewise.
* modules/getcwd (Depends-on): Likewise.
* modules/getcwd-lgpl (Depends-on): Likewise.
* modules/getdelim (Depends-on): Likewise.
* modules/getdomainname (Depends-on): Likewise.
* modules/getgroups (Depends-on): Likewise.
* modules/gethostname (Depends-on): Likewise.
* modules/getline (Depends-on): Likewise.
* modules/getlogin_r (Depends-on): Likewise.
* modules/getopt-posix (Depends-on): Likewise.
* modules/getpeername (Depends-on): Likewise.
* modules/getsockname (Depends-on): Likewise.
* modules/getsockopt (Depends-on): Likewise.
* modules/getsubopt (Depends-on): Likewise.
* modules/getusershell (Depends-on): Likewise.
* modules/glob (Depends-on): Likewise.
* modules/grantpt (Depends-on): Likewise.
* modules/iconv_open (Depends-on): Likewise.
* modules/iconv_open-utf (Depends-on): Likewise.
* modules/inet_ntop (Depends-on): Likewise.
* modules/inet_pton (Depends-on): Likewise.
* modules/ioctl (Depends-on): Likewise.
* modules/isapipe (Depends-on): Likewise.
* modules/isfinite (Depends-on): Likewise.
* modules/isinf (Depends-on): Likewise.
* modules/lchown (Depends-on): Likewise.
* modules/ldexpl (Depends-on): Likewise.
* modules/link (Depends-on): Likewise.
* modules/linkat (Depends-on): Likewise.
* modules/listen (Depends-on): Likewise.
* modules/logl (Depends-on): Likewise.
* modules/lstat (Depends-on): Likewise.
* modules/mbrlen (Depends-on): Likewise.
* modules/mbrtowc (Depends-on): Likewise.
* modules/mbsinit (Depends-on): Likewise.
* modules/mbsnrtowcs (Depends-on): Likewise.
* modules/mbsrtowcs (Depends-on): Likewise.
* modules/mbtowc (Depends-on): Likewise.
* modules/memcmp (Depends-on): Likewise.
* modules/mkdir (Depends-on): Likewise.
* modules/mkdtemp (Depends-on): Likewise.
* modules/mkfifo (Depends-on): Likewise.
* modules/mkfifoat (Depends-on): Likewise.
* modules/mknod (Depends-on): Likewise.
* modules/mkostemp (Depends-on): Likewise.
* modules/mkostemps (Depends-on): Likewise.
* modules/mkstemp (Depends-on): Likewise.
* modules/mkstemps (Depends-on): Likewise.
* modules/mktime (Depends-on): Likewise.
* modules/nanosleep (Depends-on): Likewise.
* modules/open (Depends-on): Likewise.
* modules/openat (Depends-on): Likewise.
* modules/perror (Depends-on): Likewise.
* modules/poll (Depends-on): Likewise.
* modules/popen (Depends-on): Likewise.
* modules/posix_spawn (Depends-on): Likewise.
* modules/posix_spawn_file_actions_addclose (Depends-on): Likewise.
* modules/posix_spawn_file_actions_adddup2 (Depends-on): Likewise.
* modules/posix_spawn_file_actions_addopen (Depends-on): Likewise.
* modules/posix_spawnp (Depends-on): Likewise.
* modules/pread (Depends-on): Likewise.
* modules/printf-posix (Depends-on): Likewise.
* modules/ptsname (Depends-on): Likewise.
* modules/putenv (Depends-on): Likewise.
* modules/pwrite (Depends-on): Likewise.
* modules/readline (Depends-on): Likewise.
* modules/readlink (Depends-on): Likewise.
* modules/readlinkat (Depends-on): Likewise.
* modules/recv (Depends-on): Likewise.
* modules/recvfrom (Depends-on): Likewise.
* modules/regex (Depends-on): Likewise.
* modules/remove (Depends-on): Likewise.
* modules/rename (Depends-on): Likewise.
* modules/renameat (Depends-on): Likewise.
* modules/rmdir (Depends-on): Likewise.
* modules/round (Depends-on): Likewise.
* modules/roundf (Depends-on): Likewise.
* modules/roundl (Depends-on): Likewise.
* modules/rpmatch (Depends-on): Likewise.
* modules/select (Depends-on): Likewise.
* modules/send (Depends-on): Likewise.
* modules/sendto (Depends-on): Likewise.
* modules/setenv (Depends-on): Likewise.
* modules/setlocale (Depends-on): Likewise.
* modules/setsockopt (Depends-on): Likewise.
* modules/shutdown (Depends-on): Likewise.
* modules/sigaction (Depends-on): Likewise.
* modules/signbit (Depends-on): Likewise.
* modules/sigprocmask (Depends-on): Likewise.
* modules/sinl (Depends-on): Likewise.
* modules/sleep (Depends-on): Likewise.
* modules/snprintf (Depends-on): Likewise.
* modules/snprintf-posix (Depends-on): Likewise.
* modules/socket (Depends-on): Likewise.
* modules/sprintf-posix (Depends-on): Likewise.
* modules/sqrtl (Depends-on): Likewise.
* modules/stat (Depends-on): Likewise.
* modules/strchrnul (Depends-on): Likewise.
* modules/strdup-posix (Depends-on): Likewise.
* modules/strerror (Depends-on): Likewise.
* modules/strerror_r-posix (Depends-on): Likewise.
* modules/strndup (Depends-on): Likewise.
* modules/strnlen (Depends-on): Likewise.
* modules/strptime (Depends-on): Likewise.
* modules/strsep (Depends-on): Likewise.
* modules/strsignal (Depends-on): Likewise.
* modules/strstr-simple (Depends-on): Likewise.
* modules/strtod (Depends-on): Likewise.
* modules/strtoimax (Depends-on): Likewise.
* modules/strtok_r (Depends-on): Likewise.
* modules/strtoumax (Depends-on): Likewise.
* modules/symlink (Depends-on): Likewise.
* modules/symlinkat (Depends-on): Likewise.
* modules/tanl (Depends-on): Likewise.
* modules/tcgetsid (Depends-on): Likewise.
* modules/tmpfile (Depends-on): Likewise.
* modules/trunc (Depends-on): Likewise.
* modules/truncf (Depends-on): Likewise.
* modules/truncl (Depends-on): Likewise.
* modules/uname (Depends-on): Likewise.
* modules/unlink (Depends-on): Likewise.
* modules/unlockpt (Depends-on): Likewise.
* modules/unsetenv (Depends-on): Likewise.
* modules/usleep (Depends-on): Likewise.
* modules/utimensat (Depends-on): Likewise.
* modules/vasprintf (Depends-on): Likewise.
* modules/vdprintf (Depends-on): Likewise.
* modules/vdprintf-posix (Depends-on): Likewise.
* modules/vfprintf-posix (Depends-on): Likewise.
* modules/vprintf-posix (Depends-on): Likewise.
* modules/vsnprintf (Depends-on): Likewise.
* modules/vsnprintf-posix (Depends-on): Likewise.
* modules/vsprintf-posix (Depends-on): Likewise.
* modules/wcrtomb (Depends-on): Likewise.
* modules/wcscasecmp (Depends-on): Likewise.
* modules/wcscspn (Depends-on): Likewise.
* modules/wcsdup (Depends-on): Likewise.
* modules/wcsncasecmp (Depends-on): Likewise.
* modules/wcsnrtombs (Depends-on): Likewise.
* modules/wcspbrk (Depends-on): Likewise.
* modules/wcsrtombs (Depends-on): Likewise.
* modules/wcsspn (Depends-on): Likewise.
* modules/wcsstr (Depends-on): Likewise.
* modules/wcstok (Depends-on): Likewise.
* modules/wcswidth (Depends-on): Likewise.
* modules/wctob (Depends-on): Likewise.
* modules/wctomb (Depends-on): Likewise.
* modules/wctype (Depends-on): Likewise.
* modules/wcwidth (Depends-on): Likewise.
* modules/write (Depends-on): Likewise.

194 files changed:
ChangeLog
modules/accept
modules/acosl
modules/argz
modules/asinl
modules/atanl
modules/atoll
modules/bind
modules/btowc
modules/canonicalize-lgpl
modules/ceil
modules/ceilf
modules/ceill
modules/chdir-long
modules/chown
modules/close
modules/connect
modules/cosl
modules/dirfd
modules/dprintf
modules/dprintf-posix
modules/error
modules/euidaccess
modules/expl
modules/faccessat
modules/fchdir
modules/fclose
modules/fcntl
modules/fdopendir
modules/fflush
modules/floor
modules/floorf
modules/floorl
modules/fnmatch
modules/fopen
modules/fprintf-posix
modules/frexp
modules/frexp-nolibm
modules/frexpl
modules/frexpl-nolibm
modules/fseek
modules/fsusage
modules/ftell
modules/ftello
modules/futimens
modules/getcwd
modules/getcwd-lgpl
modules/getdelim
modules/getdomainname
modules/getgroups
modules/gethostname
modules/getline
modules/getlogin_r
modules/getopt-posix
modules/getpeername
modules/getsockname
modules/getsockopt
modules/getsubopt
modules/getusershell
modules/glob
modules/grantpt
modules/iconv_open
modules/iconv_open-utf
modules/inet_ntop
modules/inet_pton
modules/ioctl
modules/isapipe
modules/isfinite
modules/isinf
modules/lchown
modules/ldexpl
modules/link
modules/linkat
modules/listen
modules/logl
modules/lstat
modules/mbrlen
modules/mbrtowc
modules/mbsinit
modules/mbsnrtowcs
modules/mbsrtowcs
modules/mbtowc
modules/memcmp
modules/mkdir
modules/mkdtemp
modules/mkfifo
modules/mkfifoat
modules/mknod
modules/mkostemp
modules/mkostemps
modules/mkstemp
modules/mkstemps
modules/mktime
modules/nanosleep
modules/open
modules/openat
modules/perror
modules/poll
modules/popen
modules/posix_spawn
modules/posix_spawn_file_actions_addclose
modules/posix_spawn_file_actions_adddup2
modules/posix_spawn_file_actions_addopen
modules/posix_spawnp
modules/pread
modules/printf-posix
modules/ptsname
modules/putenv
modules/pwrite
modules/readline
modules/readlink
modules/readlinkat
modules/recv
modules/recvfrom
modules/regex
modules/remove
modules/rename
modules/renameat
modules/rmdir
modules/round
modules/roundf
modules/roundl
modules/rpmatch
modules/select
modules/send
modules/sendto
modules/setenv
modules/setlocale
modules/setsockopt
modules/shutdown
modules/sigaction
modules/signbit
modules/sigprocmask
modules/sinl
modules/sleep
modules/snprintf
modules/snprintf-posix
modules/socket
modules/sprintf-posix
modules/sqrtl
modules/stat
modules/strchrnul
modules/strdup-posix
modules/strerror
modules/strerror_r-posix
modules/strndup
modules/strnlen
modules/strptime
modules/strsep
modules/strsignal
modules/strstr-simple
modules/strtod
modules/strtoimax
modules/strtok_r
modules/strtoumax
modules/symlink
modules/symlinkat
modules/tanl
modules/tcgetsid
modules/tmpfile
modules/trunc
modules/truncf
modules/truncl
modules/uname
modules/unlink
modules/unlockpt
modules/unsetenv
modules/usleep
modules/utimensat
modules/vasprintf
modules/vdprintf
modules/vdprintf-posix
modules/vfprintf-posix
modules/vprintf-posix
modules/vsnprintf
modules/vsnprintf-posix
modules/vsprintf-posix
modules/wcrtomb
modules/wcscasecmp
modules/wcscspn
modules/wcsdup
modules/wcsncasecmp
modules/wcsnrtombs
modules/wcspbrk
modules/wcsrtombs
modules/wcsspn
modules/wcsstr
modules/wcstok
modules/wcswidth
modules/wctob
modules/wctomb
modules/wctype
modules/wcwidth
modules/write

index a9e21cf..88875b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,202 @@
 2011-05-03  Bruno Haible  <bruno@clisp.org>
 
+       Avoid unnecessary compilation units, through conditional dependencies.
+       * modules/accept (Depends-on): Add conditions to the dependencies.
+       * modules/acosl (Depends-on): Likewise.
+       * modules/argz (Depends-on): Likewise.
+       * modules/asinl (Depends-on): Likewise.
+       * modules/atanl (Depends-on): Likewise.
+       * modules/atoll (Depends-on): Likewise.
+       * modules/bind (Depends-on): Likewise.
+       * modules/btowc (Depends-on): Likewise.
+       * modules/canonicalize-lgpl (Depends-on): Likewise.
+       * modules/ceil (Depends-on): Likewise.
+       * modules/ceilf (Depends-on): Likewise.
+       * modules/ceill (Depends-on): Likewise.
+       * modules/chdir-long (Depends-on): Likewise.
+       * modules/chown (Depends-on): Likewise.
+       * modules/close (Depends-on): Likewise.
+       * modules/connect (Depends-on): Likewise.
+       * modules/cosl (Depends-on): Likewise.
+       * modules/dirfd (Depends-on): Likewise.
+       * modules/dprintf (Depends-on): Likewise.
+       * modules/dprintf-posix (Depends-on): Likewise.
+       * modules/error (Depends-on): Likewise.
+       * modules/euidaccess (Depends-on): Likewise.
+       * modules/expl (Depends-on): Likewise.
+       * modules/faccessat (Depends-on): Likewise.
+       * modules/fchdir (Depends-on): Likewise.
+       * modules/fclose (Depends-on): Likewise.
+       * modules/fcntl (Depends-on): Likewise.
+       * modules/fdopendir (Depends-on): Likewise.
+       * modules/fflush (Depends-on): Likewise.
+       * modules/floor (Depends-on): Likewise.
+       * modules/floorf (Depends-on): Likewise.
+       * modules/floorl (Depends-on): Likewise.
+       * modules/fnmatch (Depends-on): Likewise.
+       * modules/fopen (Depends-on): Likewise.
+       * modules/fprintf-posix (Depends-on): Likewise.
+       * modules/frexp (Depends-on): Likewise.
+       * modules/frexp-nolibm (Depends-on): Likewise.
+       * modules/frexpl (Depends-on): Likewise.
+       * modules/frexpl-nolibm (Depends-on): Likewise.
+       * modules/fseek (Depends-on): Likewise.
+       * modules/fsusage (Depends-on): Likewise.
+       * modules/ftell (Depends-on): Likewise.
+       * modules/ftello (Depends-on): Likewise.
+       * modules/futimens (Depends-on): Likewise.
+       * modules/getcwd (Depends-on): Likewise.
+       * modules/getcwd-lgpl (Depends-on): Likewise.
+       * modules/getdelim (Depends-on): Likewise.
+       * modules/getdomainname (Depends-on): Likewise.
+       * modules/getgroups (Depends-on): Likewise.
+       * modules/gethostname (Depends-on): Likewise.
+       * modules/getline (Depends-on): Likewise.
+       * modules/getlogin_r (Depends-on): Likewise.
+       * modules/getopt-posix (Depends-on): Likewise.
+       * modules/getpeername (Depends-on): Likewise.
+       * modules/getsockname (Depends-on): Likewise.
+       * modules/getsockopt (Depends-on): Likewise.
+       * modules/getsubopt (Depends-on): Likewise.
+       * modules/getusershell (Depends-on): Likewise.
+       * modules/glob (Depends-on): Likewise.
+       * modules/grantpt (Depends-on): Likewise.
+       * modules/iconv_open (Depends-on): Likewise.
+       * modules/iconv_open-utf (Depends-on): Likewise.
+       * modules/inet_ntop (Depends-on): Likewise.
+       * modules/inet_pton (Depends-on): Likewise.
+       * modules/ioctl (Depends-on): Likewise.
+       * modules/isapipe (Depends-on): Likewise.
+       * modules/isfinite (Depends-on): Likewise.
+       * modules/isinf (Depends-on): Likewise.
+       * modules/lchown (Depends-on): Likewise.
+       * modules/ldexpl (Depends-on): Likewise.
+       * modules/link (Depends-on): Likewise.
+       * modules/linkat (Depends-on): Likewise.
+       * modules/listen (Depends-on): Likewise.
+       * modules/logl (Depends-on): Likewise.
+       * modules/lstat (Depends-on): Likewise.
+       * modules/mbrlen (Depends-on): Likewise.
+       * modules/mbrtowc (Depends-on): Likewise.
+       * modules/mbsinit (Depends-on): Likewise.
+       * modules/mbsnrtowcs (Depends-on): Likewise.
+       * modules/mbsrtowcs (Depends-on): Likewise.
+       * modules/mbtowc (Depends-on): Likewise.
+       * modules/memcmp (Depends-on): Likewise.
+       * modules/mkdir (Depends-on): Likewise.
+       * modules/mkdtemp (Depends-on): Likewise.
+       * modules/mkfifo (Depends-on): Likewise.
+       * modules/mkfifoat (Depends-on): Likewise.
+       * modules/mknod (Depends-on): Likewise.
+       * modules/mkostemp (Depends-on): Likewise.
+       * modules/mkostemps (Depends-on): Likewise.
+       * modules/mkstemp (Depends-on): Likewise.
+       * modules/mkstemps (Depends-on): Likewise.
+       * modules/mktime (Depends-on): Likewise.
+       * modules/nanosleep (Depends-on): Likewise.
+       * modules/open (Depends-on): Likewise.
+       * modules/openat (Depends-on): Likewise.
+       * modules/perror (Depends-on): Likewise.
+       * modules/poll (Depends-on): Likewise.
+       * modules/popen (Depends-on): Likewise.
+       * modules/posix_spawn (Depends-on): Likewise.
+       * modules/posix_spawn_file_actions_addclose (Depends-on): Likewise.
+       * modules/posix_spawn_file_actions_adddup2 (Depends-on): Likewise.
+       * modules/posix_spawn_file_actions_addopen (Depends-on): Likewise.
+       * modules/posix_spawnp (Depends-on): Likewise.
+       * modules/pread (Depends-on): Likewise.
+       * modules/printf-posix (Depends-on): Likewise.
+       * modules/ptsname (Depends-on): Likewise.
+       * modules/putenv (Depends-on): Likewise.
+       * modules/pwrite (Depends-on): Likewise.
+       * modules/readline (Depends-on): Likewise.
+       * modules/readlink (Depends-on): Likewise.
+       * modules/readlinkat (Depends-on): Likewise.
+       * modules/recv (Depends-on): Likewise.
+       * modules/recvfrom (Depends-on): Likewise.
+       * modules/regex (Depends-on): Likewise.
+       * modules/remove (Depends-on): Likewise.
+       * modules/rename (Depends-on): Likewise.
+       * modules/renameat (Depends-on): Likewise.
+       * modules/rmdir (Depends-on): Likewise.
+       * modules/round (Depends-on): Likewise.
+       * modules/roundf (Depends-on): Likewise.
+       * modules/roundl (Depends-on): Likewise.
+       * modules/rpmatch (Depends-on): Likewise.
+       * modules/select (Depends-on): Likewise.
+       * modules/send (Depends-on): Likewise.
+       * modules/sendto (Depends-on): Likewise.
+       * modules/setenv (Depends-on): Likewise.
+       * modules/setlocale (Depends-on): Likewise.
+       * modules/setsockopt (Depends-on): Likewise.
+       * modules/shutdown (Depends-on): Likewise.
+       * modules/sigaction (Depends-on): Likewise.
+       * modules/signbit (Depends-on): Likewise.
+       * modules/sigprocmask (Depends-on): Likewise.
+       * modules/sinl (Depends-on): Likewise.
+       * modules/sleep (Depends-on): Likewise.
+       * modules/snprintf (Depends-on): Likewise.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/socket (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/sqrtl (Depends-on): Likewise.
+       * modules/stat (Depends-on): Likewise.
+       * modules/strchrnul (Depends-on): Likewise.
+       * modules/strdup-posix (Depends-on): Likewise.
+       * modules/strerror (Depends-on): Likewise.
+       * modules/strerror_r-posix (Depends-on): Likewise.
+       * modules/strndup (Depends-on): Likewise.
+       * modules/strnlen (Depends-on): Likewise.
+       * modules/strptime (Depends-on): Likewise.
+       * modules/strsep (Depends-on): Likewise.
+       * modules/strsignal (Depends-on): Likewise.
+       * modules/strstr-simple (Depends-on): Likewise.
+       * modules/strtod (Depends-on): Likewise.
+       * modules/strtoimax (Depends-on): Likewise.
+       * modules/strtok_r (Depends-on): Likewise.
+       * modules/strtoumax (Depends-on): Likewise.
+       * modules/symlink (Depends-on): Likewise.
+       * modules/symlinkat (Depends-on): Likewise.
+       * modules/tanl (Depends-on): Likewise.
+       * modules/tcgetsid (Depends-on): Likewise.
+       * modules/tmpfile (Depends-on): Likewise.
+       * modules/trunc (Depends-on): Likewise.
+       * modules/truncf (Depends-on): Likewise.
+       * modules/truncl (Depends-on): Likewise.
+       * modules/uname (Depends-on): Likewise.
+       * modules/unlink (Depends-on): Likewise.
+       * modules/unlockpt (Depends-on): Likewise.
+       * modules/unsetenv (Depends-on): Likewise.
+       * modules/usleep (Depends-on): Likewise.
+       * modules/utimensat (Depends-on): Likewise.
+       * modules/vasprintf (Depends-on): Likewise.
+       * modules/vdprintf (Depends-on): Likewise.
+       * modules/vdprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/vprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * modules/wcrtomb (Depends-on): Likewise.
+       * modules/wcscasecmp (Depends-on): Likewise.
+       * modules/wcscspn (Depends-on): Likewise.
+       * modules/wcsdup (Depends-on): Likewise.
+       * modules/wcsncasecmp (Depends-on): Likewise.
+       * modules/wcsnrtombs (Depends-on): Likewise.
+       * modules/wcspbrk (Depends-on): Likewise.
+       * modules/wcsrtombs (Depends-on): Likewise.
+       * modules/wcsspn (Depends-on): Likewise.
+       * modules/wcsstr (Depends-on): Likewise.
+       * modules/wcstok (Depends-on): Likewise.
+       * modules/wcswidth (Depends-on): Likewise.
+       * modules/wctob (Depends-on): Likewise.
+       * modules/wctomb (Depends-on): Likewise.
+       * modules/wctype (Depends-on): Likewise.
+       * modules/wcwidth (Depends-on): Likewise.
+       * modules/write (Depends-on): Likewise.
+
+2011-05-03  Bruno Haible  <bruno@clisp.org>
+
        Support for conditional dependencies.
        * doc/gnulib.texi (Module description): Document the syntax of
        conditional dependencies.
index d1c954e..fb46f98 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 3c49196..ed3a26d 100644 (file)
@@ -8,8 +8,8 @@ m4/acosl.m4
 Depends-on:
 math
 extensions
-asinl
-sqrtl
+asinl           [test $HAVE_ACOSL = 0]
+sqrtl           [test $HAVE_ACOSL = 0]
 
 configure.ac:
 gl_FUNC_ACOSL
index 0c56ac7..2cbb212 100644 (file)
@@ -7,12 +7,12 @@ lib/argz.c
 m4/argz.m4
 
 Depends-on:
-memmove
-mempcpy
-stpcpy
-strndup
-strnlen
-strstr
+memmove         [test -n "$ARGZ_H"]
+mempcpy         [test -n "$ARGZ_H"]
+stpcpy          [test -n "$ARGZ_H"]
+strndup         [test -n "$ARGZ_H"]
+strnlen         [test -n "$ARGZ_H"]
+strstr          [test -n "$ARGZ_H"]
 
 configure.ac:
 gl_FUNC_ARGZ
index 7f254ab..df6ab28 100644 (file)
@@ -8,7 +8,7 @@ m4/asinl.m4
 Depends-on:
 math
 extensions
-sqrtl
+sqrtl           [test $HAVE_ASINL = 0]
 
 configure.ac:
 gl_FUNC_ASINL
index f6ba1b8..7c512e5 100644 (file)
@@ -8,7 +8,7 @@ m4/atanl.m4
 Depends-on:
 math
 extensions
-isnanl
+isnanl          [test $HAVE_ATANL = 0]
 
 configure.ac:
 gl_FUNC_ATANL
index 5f05712..d979a00 100644 (file)
@@ -7,7 +7,7 @@ m4/atoll.m4
 m4/longlong.m4
 
 Depends-on:
-strtoll
+strtoll         [test $HAVE_ATOLL = 0]
 
 configure.ac:
 gl_FUNC_ATOLL
index 050f0e6..5c4595f 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 10c5f3f..1566a2f 100644 (file)
@@ -8,7 +8,7 @@ m4/locale-fr.m4
 
 Depends-on:
 wchar
-mbtowc
+mbtowc          [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]
 
 configure.ac:
 gl_FUNC_BTOWC
index 6a748f3..1fb23c2 100644 (file)
@@ -7,16 +7,16 @@ m4/canonicalize.m4
 m4/double-slash-root.m4
 
 Depends-on:
-alloca-opt
-errno
 extensions
-lstat
-malloca
-memmove
-pathmax
-readlink
 stdlib
-sys_stat
+alloca-opt      [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+errno           [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+lstat           [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+malloca         [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+memmove         [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+pathmax         [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+readlink        [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+sys_stat        [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
 
 configure.ac:
 gl_CANONICALIZE_LGPL
index 90e03fc..1a3a5de 100644 (file)
@@ -7,7 +7,7 @@ m4/ceil.m4
 
 Depends-on:
 math
-float
+float           [test $REPLACE_CEIL = 1]
 
 configure.ac:
 gl_FUNC_CEIL
index 3c0082c..beba067 100644 (file)
@@ -9,7 +9,7 @@ m4/ceilf.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1]
 
 configure.ac:
 gl_FUNC_CEILF
index a2365c2..51d5b92 100644 (file)
@@ -9,7 +9,7 @@ m4/ceill.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1]
 
 configure.ac:
 gl_FUNC_CEILL
index eb08151..0c8e792 100644 (file)
@@ -7,15 +7,16 @@ lib/chdir-long.c
 m4/chdir-long.m4
 
 Depends-on:
-atexit
-fchdir
-fcntl-h
-openat
-memchr
-mempcpy
-memrchr
-stdbool
-stdlib
+unistd
+atexit          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+fchdir          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+fcntl-h         [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+openat          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+memchr          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+mempcpy         [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+memrchr         [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+stdbool         [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
+stdlib          [test $gl_cv_have_arbitrary_file_name_length_limit = yes]
 
 configure.ac:
 gl_FUNC_CHDIR_LONG
index 94bff84..ccfeb3b 100644 (file)
@@ -7,11 +7,11 @@ lib/fchown-stub.c
 m4/chown.m4
 
 Depends-on:
-open
-stat
-stdbool
-sys_stat
 unistd
+open            [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
+stat            [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
+stdbool         [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
+sys_stat        [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
 
 configure.ac:
 gl_FUNC_CHOWN
index 88e1608..cbfa080 100644 (file)
@@ -7,7 +7,7 @@ m4/close.m4
 
 Depends-on:
 unistd
-fd-hook
+fd-hook         [test $REPLACE_CLOSE = 1]
 fclose
 
 configure.ac:
index 1381ffa..c90f094 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 88ebf9c..33f2e68 100644 (file)
@@ -11,10 +11,10 @@ m4/cosl.m4
 Depends-on:
 math
 extensions
-float
-isnanl
-floor
-floorl
+float           [test $HAVE_COSL = 0]
+isnanl          [test $HAVE_COSL = 0]
+floor           [test $HAVE_COSL = 0]
+floorl          [test $HAVE_COSL = 0]
 
 configure.ac:
 gl_FUNC_COSL
index 42ff4d7..8410f38 100644 (file)
@@ -7,8 +7,8 @@ m4/dirfd.m4
 
 Depends-on:
 dirent
-errno
 extensions
+errno           [test $ac_cv_have_decl_dirfd = no || test $REPLACE_DIRFD = 1]
 
 configure.ac:
 gl_FUNC_DIRFD
index 6ebbde4..8c08def 100644 (file)
@@ -7,9 +7,9 @@ m4/dprintf.m4
 
 Depends-on:
 stdio
-vasnprintf
-full-write
-errno
+vasnprintf      [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+full-write      [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+errno           [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
 
 configure.ac:
 gl_FUNC_DPRINTF
index 19a4718..2423d61 100644 (file)
@@ -14,18 +14,18 @@ m4/printf.m4
 
 Depends-on:
 dprintf
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
 multiarch
+vasnprintf      [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+isnand-nolibm   [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+isnanl-nolibm   [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+frexp-nolibm    [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+frexpl-nolibm   [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+printf-frexp    [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+printf-frexpl   [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+signbit         [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
+fpucw           [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1]
 
 configure.ac:
 gl_FUNC_DPRINTF_POSIX
index 7d43aba..a1ec1e9 100644 (file)
@@ -12,8 +12,8 @@ lib/error.c
 m4/error.m4
 
 Depends-on:
-strerror
-unistd
+strerror        [test $ac_cv_lib_error_at_line = no]
+unistd          [test $ac_cv_lib_error_at_line = no]
 
 configure.ac:
 gl_ERROR
index 93333f5..56bcf28 100644 (file)
@@ -8,9 +8,9 @@ m4/euidaccess.m4
 Depends-on:
 unistd
 extensions
-group-member
-stat
-sys_stat
+group-member    [test $HAVE_EUIDACCESS = 0]
+stat            [test $HAVE_EUIDACCESS = 0]
+sys_stat        [test $HAVE_EUIDACCESS = 0]
 
 configure.ac:
 gl_FUNC_EUIDACCESS
index 3870440..7681b35 100644 (file)
@@ -8,8 +8,8 @@ m4/expl.m4
 Depends-on:
 math
 extensions
-float
-floorl
+float           [test $HAVE_EXPL = 0]
+floorl          [test $HAVE_EXPL = 0]
 
 configure.ac:
 gl_FUNC_EXPL
index 92d8185..ce8fa0d 100644 (file)
@@ -6,11 +6,11 @@ lib/faccessat.c
 m4/faccessat.m4
 
 Depends-on:
-euidaccess
+unistd
 extensions
 fcntl-h
-openat
-unistd
+euidaccess      [test $HAVE_FACCESSAT = 0]
+openat          [test $HAVE_FACCESSAT = 0]
 
 configure.ac:
 gl_FUNC_FACCESSAT
index 8589193..7b7cb04 100644 (file)
@@ -6,23 +6,23 @@ lib/fchdir.c
 m4/fchdir.m4
 
 Depends-on:
-close
-dirent
-dirfd
-dosname
-dup2
-fcntl
-fcntl-h
-filenamecat-lgpl
-getcwd-lgpl
-malloc-posix
-open
-realloc-posix
-stat
-stdbool
-strdup-posix
-sys_stat
 unistd
+close            [test $HAVE_FCHDIR = 0]
+dirent           [test $HAVE_FCHDIR = 0]
+dirfd            [test $HAVE_FCHDIR = 0]
+dosname          [test $HAVE_FCHDIR = 0]
+dup2             [test $HAVE_FCHDIR = 0]
+fcntl            [test $HAVE_FCHDIR = 0]
+fcntl-h          [test $HAVE_FCHDIR = 0]
+filenamecat-lgpl [test $HAVE_FCHDIR = 0]
+getcwd-lgpl      [test $HAVE_FCHDIR = 0]
+malloc-posix     [test $HAVE_FCHDIR = 0]
+open             [test $HAVE_FCHDIR = 0]
+realloc-posix    [test $HAVE_FCHDIR = 0]
+stat             [test $HAVE_FCHDIR = 0]
+stdbool          [test $HAVE_FCHDIR = 0]
+strdup-posix     [test $HAVE_FCHDIR = 0]
+sys_stat         [test $HAVE_FCHDIR = 0]
 
 configure.ac:
 gl_FUNC_FCHDIR
index 434dd73..ac383aa 100644 (file)
@@ -7,9 +7,9 @@ m4/fclose.m4
 
 Depends-on:
 stdio
-close
-freading
-lseek
+close           [test $REPLACE_FCLOSE = 1]
+freading        [test $REPLACE_FCLOSE = 1]
+lseek           [test $REPLACE_FCLOSE = 1]
 
 configure.ac:
 gl_FUNC_FCLOSE
index 67630f9..855ee9f 100644 (file)
@@ -6,10 +6,10 @@ m4/fcntl.m4
 lib/fcntl.c
 
 Depends-on:
-dup2
 fcntl-h
-getdtablesize
 extensions
+dup2            [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
+getdtablesize   [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 
 configure.ac:
 gl_FUNC_FCNTL
index 203f6c7..0612b74 100644 (file)
@@ -9,11 +9,11 @@ m4/fdopendir.m4
 
 Depends-on:
 dirent
-errno
 extensions
-fchdir
-openat-die
-save-cwd
+errno           [test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1]
+fchdir          [test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1]
+openat-die      [test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1]
+save-cwd        [test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1]
 
 configure.ac:
 gl_FUNC_FDOPENDIR
index 2d5839d..e9649e0 100644 (file)
@@ -7,14 +7,14 @@ lib/stdio-impl.h
 m4/fflush.m4
 
 Depends-on:
-fclose
-fpurge
-ftello
-freading
-lseek
 stdio
-unistd
-fseeko
+fclose
+fpurge          [test $REPLACE_FFLUSH = 1]
+ftello          [test $REPLACE_FFLUSH = 1]
+freading        [test $REPLACE_FFLUSH = 1]
+lseek           [test $REPLACE_FFLUSH = 1]
+unistd          [test $REPLACE_FFLUSH = 1]
+fseeko          [test $REPLACE_FFLUSH = 1]
 
 configure.ac-early:
 AC_REQUIRE([AC_FUNC_FSEEKO])
index ee898d3..1393dad 100644 (file)
@@ -7,7 +7,7 @@ m4/floor.m4
 
 Depends-on:
 math
-float
+float           [test $REPLACE_FLOOR = 1]
 
 configure.ac:
 gl_FUNC_FLOOR
index 47b9d5c..1f9d9da 100644 (file)
@@ -9,7 +9,7 @@ m4/floorf.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1]
 
 configure.ac:
 gl_FUNC_FLOORF
index 66c1362..e211993 100644 (file)
@@ -9,7 +9,7 @@ m4/floorl.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1]
 
 configure.ac:
 gl_FUNC_FLOORL
index fde25a1..12e5906 100644 (file)
@@ -11,14 +11,14 @@ m4/fnmatch.m4
 Depends-on:
 arg-nonnull
 extensions
-alloca
-stdbool
-wchar
-wctype-h
-memchr
-memcmp
-mbsrtowcs
-mbsinit
+alloca          [test -n "$FNMATCH_H"]
+stdbool         [test -n "$FNMATCH_H"]
+wchar           [test -n "$FNMATCH_H"]
+wctype-h        [test -n "$FNMATCH_H"]
+memchr          [test -n "$FNMATCH_H"]
+memcmp          [test -n "$FNMATCH_H"]
+mbsrtowcs       [test -n "$FNMATCH_H"]
+mbsinit         [test -n "$FNMATCH_H"]
 
 configure.ac:
 gl_FUNC_FNMATCH_POSIX
index eddd7f6..2177a3b 100644 (file)
@@ -7,7 +7,7 @@ m4/fopen.m4
 
 Depends-on:
 stdio
-unistd
+unistd          [test $REPLACE_FOPEN = 1]
 
 configure.ac:
 gl_FUNC_FOPEN
index be2b010..47e76c5 100644 (file)
@@ -14,20 +14,20 @@ m4/printf.m4
 
 Depends-on:
 stdio
-fseterr
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
 errno
 multiarch
+fseterr         [test $REPLACE_FPRINTF = 1]
+vasnprintf      [test $REPLACE_FPRINTF = 1]
+isnand-nolibm   [test $REPLACE_FPRINTF = 1]
+isnanl-nolibm   [test $REPLACE_FPRINTF = 1]
+frexp-nolibm    [test $REPLACE_FPRINTF = 1]
+frexpl-nolibm   [test $REPLACE_FPRINTF = 1]
+printf-frexp    [test $REPLACE_FPRINTF = 1]
+printf-frexpl   [test $REPLACE_FPRINTF = 1]
+signbit         [test $REPLACE_FPRINTF = 1]
+fpucw           [test $REPLACE_FPRINTF = 1]
 
 configure.ac:
 gl_FUNC_FPRINTF_POSIX
index 7fae366..3ada9b2 100644 (file)
@@ -7,7 +7,7 @@ m4/frexp.m4
 
 Depends-on:
 math
-isnand-nolibm
+isnand-nolibm   [test $gl_func_frexp != yes]
 
 configure.ac:
 gl_FUNC_FREXP
index 6a909e9..34eb958 100644 (file)
@@ -7,7 +7,7 @@ m4/frexp.m4
 
 Depends-on:
 math
-isnand-nolibm
+isnand-nolibm   [test $gl_func_frexp_no_libm != yes]
 
 configure.ac:
 gl_FUNC_FREXP_NO_LIBM
index 185d54d..d1f0159 100644 (file)
@@ -8,8 +8,8 @@ m4/frexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+isnanl-nolibm   [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no]
+fpucw           [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no]
 
 configure.ac:
 gl_FUNC_FREXPL
index 80ce8fb..dbe1a82 100644 (file)
@@ -9,8 +9,8 @@ m4/frexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+isnanl-nolibm   [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no]
+fpucw           [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no]
 
 configure.ac:
 gl_FUNC_FREXPL_NO_LIBM
index 07f948e..98c6d3f 100644 (file)
@@ -6,8 +6,8 @@ lib/fseek.c
 m4/fseek.m4
 
 Depends-on:
-fseeko
 stdio
+fseeko          [test $REPLACE_FSEEK = 1]
 
 configure.ac:
 gl_FUNC_FSEEK
index c849688..cdefb60 100644 (file)
@@ -7,9 +7,9 @@ lib/fsusage.c
 m4/fsusage.m4
 
 Depends-on:
-full-read
 stdbool
 stdint
+full-read       [test $gl_cv_fs_space = yes]
 
 configure.ac:
 gl_FSUSAGE
index 6e9dc25..cc95d16 100644 (file)
@@ -6,9 +6,9 @@ lib/ftell.c
 m4/ftell.m4
 
 Depends-on:
-ftello
 stdio
 errno
+ftello          [test $REPLACE_FTELL = 1]
 
 configure.ac:
 gl_FUNC_FTELL
index 0cf160c..b042e84 100644 (file)
@@ -8,9 +8,9 @@ m4/fseeko.m4
 m4/ftello.m4
 
 Depends-on:
-extensions
-lseek
 stdio
+extensions
+lseek           [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
 
 configure.ac-early:
 AC_REQUIRE([AC_FUNC_FSEEKO])
index 17bff44..2e6ecf8 100644 (file)
@@ -7,8 +7,8 @@ m4/futimens.m4
 
 Depends-on:
 sys_stat
-utimens
 extensions
+utimens         [test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1]
 
 configure.ac:
 gl_FUNC_FUTIMENS
index 27ec25a..cc80bfe 100644 (file)
@@ -8,15 +8,15 @@ m4/getcwd-path-max.m4
 m4/getcwd.m4
 
 Depends-on:
-mempcpy
-d-ino
-extensions
-memmove
-openat
-stdbool
 unistd
-malloc-posix
-strdup-posix
+extensions
+mempcpy         [test $REPLACE_GETCWD = 1]
+d-ino           [test $REPLACE_GETCWD = 1]
+memmove         [test $REPLACE_GETCWD = 1]
+openat          [test $REPLACE_GETCWD = 1]
+stdbool         [test $REPLACE_GETCWD = 1]
+malloc-posix    [test $REPLACE_GETCWD = 1]
+strdup-posix    [test $REPLACE_GETCWD = 1]
 
 configure.ac:
 gl_FUNC_GETCWD
index 1b9c87b..72e6a7f 100644 (file)
@@ -6,8 +6,8 @@ lib/getcwd-lgpl.c
 m4/getcwd.m4
 
 Depends-on:
-strdup
 unistd
+strdup          [test $REPLACE_GETCWD = 1]
 
 configure.ac:
 gl_FUNC_GETCWD_LGPL
index 0f17b60..c3ef317 100644 (file)
@@ -6,11 +6,11 @@ lib/getdelim.c
 m4/getdelim.m4
 
 Depends-on:
-extensions
 stdio
-stdint
-realloc-posix
-errno
+extensions
+stdint          [test $HAVE_DECL_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
+realloc-posix   [test $HAVE_DECL_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
+errno           [test $HAVE_DECL_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
 
 configure.ac:
 gl_FUNC_GETDELIM
index 5a9d23f..c7f77b0 100644 (file)
@@ -8,8 +8,8 @@ m4/getdomainname.m4
 Depends-on:
 unistd
 extensions
-netdb
-sys_socket
+netdb           [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]
+sys_socket      [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]
 
 configure.ac:
 gl_FUNC_GETDOMAINNAME
index aabcefc..438236b 100644 (file)
@@ -6,9 +6,9 @@ lib/getgroups.c
 m4/getgroups.m4
 
 Depends-on:
-malloc-posix
-stdint
 unistd
+malloc-posix    [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
+stdint          [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
 
 configure.ac:
 gl_FUNC_GETGROUPS
index 8c24571..359434a 100644 (file)
@@ -8,9 +8,9 @@ lib/w32sock.h
 
 Depends-on:
 unistd
-sys_socket
-errno
-sockets
+sys_socket      [test $HAVE_GETHOSTNAME = 0]
+errno           [test $HAVE_GETHOSTNAME = 0]
+sockets         [test $HAVE_GETHOSTNAME = 0]
 
 configure.ac:
 gl_FUNC_GETHOSTNAME
index 1fb9b9c..b565f66 100644 (file)
@@ -6,9 +6,9 @@ lib/getline.c
 m4/getline.m4
 
 Depends-on:
-extensions
-getdelim
 stdio
+extensions
+getdelim        [test $REPLACE_GETLINE = 1]
 
 configure.ac:
 gl_FUNC_GETLINE
index 1d5c20b..c0fb4a6 100644 (file)
@@ -6,9 +6,9 @@ lib/getlogin_r.c
 m4/getlogin_r.m4
 
 Depends-on:
-extensions
 unistd
-memchr
+extensions
+memchr          [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1]
 
 configure.ac:
 gl_FUNC_GETLOGIN_R
index 18bad69..6be0cbc 100644 (file)
@@ -9,11 +9,11 @@ lib/getopt_int.h
 m4/getopt.m4
 
 Depends-on:
-gettext-h
 unistd
 extensions
 include_next
 arg-nonnull
+gettext-h       [test $GNULIB_UNISTD_H_GETOPT = 1]
 
 configure.ac:
 gl_FUNC_GETOPT_POSIX
index a8a4fca..4cdae38 100644 (file)
@@ -8,7 +8,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index a7f8881..223479e 100644 (file)
@@ -8,7 +8,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 40ff649..5b8c18d 100644 (file)
@@ -7,8 +7,8 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-sys_time
-errno
+sys_time        [test "$ac_cv_header_winsock2_h" = yes]
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index a28e2a0..eaf8e87 100644 (file)
@@ -6,10 +6,10 @@ lib/getsubopt.c
 m4/getsubopt.m4
 
 Depends-on:
-extensions
-strchrnul
 stdlib
-memchr
+extensions
+strchrnul       [test $HAVE_GETSUBOPT = 0]
+memchr          [test $HAVE_GETSUBOPT = 0]
 
 configure.ac:
 gl_FUNC_GETSUBOPT
index 9ae7dca..56e8b5f 100644 (file)
@@ -8,8 +8,8 @@ m4/getusershell.m4
 Depends-on:
 unistd
 extensions
-fopen-safer
-xalloc
+fopen-safer     [test $ac_cv_func_getusershell = no]
+xalloc          [test $ac_cv_func_getusershell = no]
 
 configure.ac:
 gl_FUNC_GETUSERSHELL
index 114cb6d..db5410b 100644 (file)
@@ -9,22 +9,22 @@ lib/glob.c
 m4/glob.m4
 
 Depends-on:
-alloca
 arg-nonnull
 c++defs
-d-type
-dirfd
 extensions
-fnmatch
-getlogin_r
-memchr
-mempcpy
-stdbool
-strdup
-sys_stat
-unistd
 warn-on-use
-malloc-posix
+alloca          [test -n "$GLOB_H"]
+d-type          [test -n "$GLOB_H"]
+dirfd           [test -n "$GLOB_H"]
+fnmatch         [test -n "$GLOB_H"]
+getlogin_r      [test -n "$GLOB_H"]
+memchr          [test -n "$GLOB_H"]
+mempcpy         [test -n "$GLOB_H"]
+stdbool         [test -n "$GLOB_H"]
+strdup          [test -n "$GLOB_H"]
+sys_stat        [test -n "$GLOB_H"]
+unistd          [test -n "$GLOB_H"]
+malloc-posix    [test -n "$GLOB_H"]
 
 configure.ac:
 gl_GLOB
index a5d9eb4..589360d 100644 (file)
@@ -8,9 +8,9 @@ m4/grantpt.m4
 Depends-on:
 stdlib
 extensions
-pt_chown
-waitpid
-configmake
+pt_chown        [test $HAVE_GRANTPT = 0]
+waitpid         [test $HAVE_GRANTPT = 0]
+configmake      [test $HAVE_GRANTPT = 0]
 
 configure.ac:
 gl_FUNC_GRANTPT
index 7b8190f..ee7de0e 100644 (file)
@@ -14,8 +14,8 @@ Depends-on:
 gperf
 iconv-h
 iconv
-c-ctype
-c-strcase
+c-ctype         [test $REPLACE_ICONV_OPEN = 1]
+c-strcase       [test $REPLACE_ICONV_OPEN = 1]
 
 configure.ac:
 gl_FUNC_ICONV_OPEN
index be6ff9f..b29b309 100644 (file)
@@ -8,9 +8,9 @@ m4/iconv_open.m4
 
 Depends-on:
 iconv_open
-stdint
-unistr/u8-mbtoucr
-unistr/u8-uctomb
+stdint            [test $REPLACE_ICONV_UTF = 1]
+unistr/u8-mbtoucr [test $REPLACE_ICONV_UTF = 1]
+unistr/u8-uctomb  [test $REPLACE_ICONV_UTF = 1]
 
 configure.ac:
 gl_FUNC_ICONV_OPEN_UTF
index 3b00b62..7e9c7f4 100644 (file)
@@ -6,11 +6,11 @@ lib/inet_ntop.c
 m4/inet_ntop.m4
 
 Depends-on:
-sys_socket
 arpa_inet
-errno
-netinet_in
 extensions
+sys_socket      [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
+errno           [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
+netinet_in      [test "$ac_cv_search_inet_ntop" = no && test $ac_cv_func_inet_ntop = no]
 
 configure.ac:
 gl_FUNC_INET_NTOP
index 44c50b8..18fe07e 100644 (file)
@@ -6,12 +6,12 @@ lib/inet_pton.c
 m4/inet_pton.m4
 
 Depends-on:
-c-ctype
-sys_socket
 arpa_inet
-errno
-netinet_in
 extensions
+c-ctype         [test "$ac_cv_search_inet_pton" = no && test $ac_cv_func_inet_pton = no]
+sys_socket      [test "$ac_cv_search_inet_pton" = no && test $ac_cv_func_inet_pton = no]
+errno           [test "$ac_cv_search_inet_pton" = no && test $ac_cv_func_inet_pton = no]
+netinet_in      [test "$ac_cv_search_inet_pton" = no && test $ac_cv_func_inet_pton = no]
 
 configure.ac:
 gl_FUNC_INET_PTON
index 6a54f03..57328f3 100644 (file)
@@ -8,9 +8,9 @@ m4/ioctl.m4
 
 Depends-on:
 sys_ioctl
-sys_socket
-errno
-fd-hook
+sys_socket      [test "$ac_cv_header_winsock2_h" = yes || test $REPLACE_IOCTL = 1]
+errno           [test "$ac_cv_header_winsock2_h" = yes || test $REPLACE_IOCTL = 1]
+fd-hook         [test "$ac_cv_header_winsock2_h" = yes || test $REPLACE_IOCTL = 1]
 
 configure.ac:
 gl_FUNC_IOCTL
index 6352af4..ee1c220 100644 (file)
@@ -7,9 +7,9 @@ lib/isapipe.h
 m4/isapipe.m4
 
 Depends-on:
-stdbool
-sys_stat
-unistd
+stdbool         [test $ac_cv_func_isapipe = no]
+sys_stat        [test $ac_cv_func_isapipe = no]
+unistd          [test $ac_cv_func_isapipe = no]
 
 configure.ac:
 gl_ISAPIPE
index f122c5a..00f3e87 100644 (file)
@@ -7,11 +7,11 @@ m4/isfinite.m4
 m4/check-math-lib.m4
 
 Depends-on:
-isnanf-nolibm
-isnand-nolibm
-isnanl-nolibm
 math
 extensions
+isnanf-nolibm   [test $REPLACE_ISFINITE = 1]
+isnand-nolibm   [test $REPLACE_ISFINITE = 1]
+isnanl-nolibm   [test $REPLACE_ISFINITE = 1]
 
 configure.ac:
 gl_ISFINITE
index 2c6851c..1a8399f 100644 (file)
@@ -7,9 +7,9 @@ m4/isinf.m4
 m4/check-math-lib.m4
 
 Depends-on:
-float
 math
 extensions
+float           [test $REPLACE_ISINF = 1]
 
 configure.ac:
 gl_ISINF
index 9fea1b3..d9d140e 100644 (file)
@@ -6,12 +6,12 @@ lib/lchown.c
 m4/lchown.m4
 
 Depends-on:
-chown
-errno
-lstat
-stdbool
-sys_stat
 unistd
+chown           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
+errno           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
+lstat           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
+stdbool         [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
+sys_stat        [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
 
 configure.ac:
 gl_FUNC_LCHOWN
index 7dd82cc..517a40a 100644 (file)
@@ -7,8 +7,8 @@ m4/ldexpl.m4
 
 Depends-on:
 math
-isnanl
-fpucw
+isnanl          [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
+fpucw           [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
 
 configure.ac:
 gl_FUNC_LDEXPL
index 6a006c3..38cf5ec 100644 (file)
@@ -6,10 +6,10 @@ lib/link.c
 m4/link.m4
 
 Depends-on:
-stat
-strdup-posix
-sys_stat
 unistd
+stat            [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+strdup-posix    [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+sys_stat        [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
 
 configure.ac:
 gl_FUNC_LINK
index 2d7a2df..2cb7177 100644 (file)
@@ -7,24 +7,24 @@ lib/linkat.c
 m4/linkat.m4
 
 Depends-on:
-areadlink
-areadlinkat
-dirname-lgpl
-errno
-extensions
-fcntl-h
-filenamecat-lgpl
-getcwd-lgpl
-openat
-link
-link-follow
-lstat
-readlink
-same-inode
-stpcpy
-symlink
-symlinkat
 unistd
+extensions
+areadlink        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+areadlinkat      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+dirname-lgpl     [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+errno            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+fcntl-h          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+getcwd-lgpl      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+openat           [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+link             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+link-follow      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+lstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+readlink         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+same-inode       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+stpcpy           [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+symlink          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+symlinkat        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
 
 configure.ac:
 gl_FUNC_LINKAT
index 6912f5d..7c77557 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index c9b7237..7883f44 100644 (file)
@@ -8,9 +8,9 @@ m4/logl.m4
 Depends-on:
 math
 extensions
-frexpl
-isnanl
-floorl
+frexpl          [test $HAVE_LOGL = 0]
+isnanl          [test $HAVE_LOGL = 0]
+floorl          [test $HAVE_LOGL = 0]
 
 configure.ac:
 gl_FUNC_LOGL
index e53ac7e..a945a11 100644 (file)
@@ -6,9 +6,9 @@ lib/lstat.c
 m4/lstat.m4
 
 Depends-on:
-dosname
-stat
 sys_stat
+dosname         [test $REPLACE_LSTAT = 1]
+stat            [test $REPLACE_LSTAT = 1]
 
 configure.ac:
 gl_FUNC_LSTAT
index e7f3673..5bc9f29 100644 (file)
@@ -8,8 +8,8 @@ m4/mbstate_t.m4
 
 Depends-on:
 wchar
-mbrtowc
 extensions
+mbrtowc         [test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1]
 
 configure.ac:
 gl_FUNC_MBRLEN
index 5981633..85cde1e 100644 (file)
@@ -12,11 +12,11 @@ m4/codeset.m4
 
 Depends-on:
 wchar
-mbsinit
-localcharset
-streq
-verify
 extensions
+mbsinit         [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
+localcharset    [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
+streq           [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
+verify          [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]
 
 configure.ac:
 gl_FUNC_MBRTOWC
index 4e673c7..a8ee058 100644 (file)
@@ -8,9 +8,9 @@ m4/mbstate_t.m4
 
 Depends-on:
 wchar
-mbrtowc
-verify
 extensions
+mbrtowc         [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]
+verify          [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]
 
 configure.ac:
 gl_FUNC_MBSINIT
index e8975b8..a179296 100644 (file)
@@ -9,11 +9,11 @@ m4/mbsnrtowcs.m4
 m4/mbstate_t.m4
 
 Depends-on:
-extensions
 wchar
-mbrtowc
-minmax
-strnlen1
+extensions
+mbrtowc         [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1]
+minmax          [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1]
+strnlen1        [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1]
 
 configure.ac:
 gl_FUNC_MBSNRTOWCS
index 973b695..66dd78f 100644 (file)
@@ -14,9 +14,9 @@ m4/codeset.m4
 
 Depends-on:
 wchar
-mbrtowc
-strnlen1
 extensions
+mbrtowc         [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1]
+strnlen1        [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1]
 
 configure.ac:
 gl_FUNC_MBSRTOWCS
index f41d508..02b0c88 100644 (file)
@@ -8,8 +8,8 @@ m4/mbtowc.m4
 
 Depends-on:
 stdlib
-mbrtowc
-wchar
+mbrtowc         [test $REPLACE_MBTOWC = 1]
+wchar           [test $REPLACE_MBTOWC = 1]
 
 configure.ac:
 gl_FUNC_MBTOWC
index c6bc262..dda4324 100644 (file)
@@ -12,7 +12,7 @@ lib/memcmp.c
 m4/memcmp.m4
 
 Depends-on:
-stdint
+stdint          [test $ac_cv_func_memcmp_working = no]
 
 configure.ac:
 gl_FUNC_MEMCMP
index 08089d0..44b9057 100644 (file)
@@ -6,8 +6,8 @@ lib/mkdir.c
 m4/mkdir.m4
 
 Depends-on:
-dirname-lgpl
 sys_stat
+dirname-lgpl    [test $REPLACE_MKDIR = 1]
 
 configure.ac:
 gl_FUNC_MKDIR
index 3c5aeee..4ca30c4 100644 (file)
@@ -6,9 +6,9 @@ lib/mkdtemp.c
 m4/mkdtemp.m4
 
 Depends-on:
-stdint
 stdlib
-tempname
+stdint          [test $HAVE_MKDTEMP = 0]
+tempname        [test $HAVE_MKDTEMP = 0]
 
 configure.ac:
 gt_FUNC_MKDTEMP
index 3eaaad6..dae3755 100644 (file)
@@ -6,8 +6,8 @@ lib/mkfifo.c
 m4/mkfifo.m4
 
 Depends-on:
-stat
 sys_stat
+stat            [test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1]
 
 configure.ac:
 gl_FUNC_MKFIFO
index 2bc7e65..705fb4f 100644 (file)
@@ -7,12 +7,12 @@ lib/mknodat.c
 m4/mkfifoat.m4
 
 Depends-on:
+sys_stat
 extensions
 fcntl-h
-mkfifo
-mknod
-openat
-sys_stat
+mkfifo          [test $HAVE_MKFIFOAT = 0]
+mknod           [test $HAVE_MKNODAT = 0]
+openat          [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
 
 configure.ac:
 gl_FUNC_MKFIFOAT
index c965606..6db2d5e 100644 (file)
@@ -6,10 +6,10 @@ lib/mknod.c
 m4/mknod.m4
 
 Depends-on:
-mkfifo
-stat
 sys_stat
 extensions
+mkfifo          [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]
+stat            [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]
 
 configure.ac:
 gl_FUNC_MKNOD
index 8a61dbe..85b01b7 100644 (file)
@@ -7,9 +7,9 @@ lib/mkostemp.c
 m4/mkostemp.m4
 
 Depends-on:
-extensions
 stdlib
-tempname
+extensions
+tempname        [test $HAVE_MKOSTEMP = 0]
 
 configure.ac:
 gl_FUNC_MKOSTEMP
index a4175bd..ff3c97a 100644 (file)
@@ -7,9 +7,9 @@ lib/mkostemps.c
 m4/mkostemps.m4
 
 Depends-on:
-extensions
 stdlib
-tempname
+extensions
+tempname        [test $HAVE_MKOSTEMPS = 0]
 
 configure.ac:
 gl_FUNC_MKOSTEMPS
index 265144b..0f4fef6 100644 (file)
@@ -6,9 +6,9 @@ lib/mkstemp.c
 m4/mkstemp.m4
 
 Depends-on:
-extensions
 stdlib
-tempname
+extensions
+tempname        [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1]
 
 configure.ac:
 gl_FUNC_MKSTEMP
index 2a49777..56718a9 100644 (file)
@@ -6,9 +6,9 @@ lib/mkstemps.c
 m4/mkstemps.m4
 
 Depends-on:
-extensions
 stdlib
-tempname
+extensions
+tempname        [test $HAVE_MKSTEMPS = 0]
 
 configure.ac:
 gl_FUNC_MKSTEMPS
index d5b0ee7..81aa714 100644 (file)
@@ -8,7 +8,7 @@ m4/mktime.m4
 
 Depends-on:
 multiarch
-time_r
+time_r          [test $REPLACE_MKTIME = 1]
 
 configure.ac:
 gl_FUNC_MKTIME
index dfe1c7a..36d92be 100644 (file)
@@ -6,16 +6,16 @@ lib/nanosleep.c
 m4/nanosleep.m4
 
 Depends-on:
+time
 extensions
-intprops
 multiarch
-select
-sigaction
-stdbool
-sys_select
-sys_time
-time
-verify
+intprops        [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+select          [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+sigaction       [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+stdbool         [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+sys_select      [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+sys_time        [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+verify          [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
 
 configure.ac:
 gl_FUNC_NANOSLEEP
index 2982908..ea0f5ae 100644 (file)
@@ -8,7 +8,7 @@ m4/mode_t.m4
 
 Depends-on:
 fcntl-h
-stat
+stat            [test $REPLACE_OPEN = 1]
 
 configure.ac:
 gl_FUNC_OPEN
index 35917c5..abd3b63 100644 (file)
@@ -24,18 +24,18 @@ fcntl-h
 fdopendir
 gettext-h
 intprops
-lchown
+lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
 lstat
-mkdir
+mkdir           [test $HAVE_MKDIRAT = 0]
 open
 openat-die
-rmdir
+rmdir           [test $REPLACE_UNLINKAT = 1]
 same-inode
 save-cwd
 stdbool
 sys_stat
 unistd
-unlink
+unlink          [test $REPLACE_UNLINKAT = 1]
 
 configure.ac:
 gl_FUNC_OPENAT
index c019029..d2147b6 100644 (file)
@@ -7,8 +7,8 @@ m4/perror.m4
 
 Depends-on:
 stdio
-errno
-strerror
+errno           [test $REPLACE_PERROR = 1]
+strerror        [test $REPLACE_PERROR = 1]
 
 configure.ac:
 gl_FUNC_PERROR
index 8690271..478e99b 100644 (file)
@@ -7,11 +7,11 @@ m4/poll.m4
 
 Depends-on:
 poll-h
-alloca
-select
-sys_select
-sys_time
-errno
+alloca          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+select          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+sys_select      [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+sys_time        [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
+errno           [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
 
 configure.ac:
 gl_FUNC_POLL
index 75e278d..d4ba0ab 100644 (file)
@@ -6,8 +6,8 @@ lib/popen.c
 m4/popen.m4
 
 Depends-on:
-open
 stdio
+open            [test $REPLACE_POPEN = 1]
 
 configure.ac:
 gl_FUNC_POPEN
index a4967b9..2d4ddf3 100644 (file)
@@ -7,7 +7,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-posix_spawn-internal
+posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
index 80b1c91..d24a0c9 100644 (file)
@@ -9,7 +9,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-getdtablesize
+getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
index 173dc64..59c828e 100644 (file)
@@ -9,7 +9,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-getdtablesize
+getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
index d621d2d..f828976 100644 (file)
@@ -9,7 +9,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-getdtablesize
+getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
index 1cac784..7e24647 100644 (file)
@@ -7,7 +7,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-posix_spawn-internal
+posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
index 0ae6e74..5fcb47c 100644 (file)
@@ -6,10 +6,10 @@ lib/pread.c
 m4/pread.m4
 
 Depends-on:
-extensions
-lseek
-read
 unistd
+extensions
+lseek           [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
+read            [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
 
 configure.ac:
 gl_FUNC_PREAD
index 0597ef9..1c763a0 100644 (file)
@@ -15,8 +15,8 @@ m4/asm-underscore.m4
 
 Depends-on:
 stdio
-vfprintf-posix
 printf-safe
+vfprintf-posix  [test $REPLACE_PRINTF = 1]
 
 configure.ac:
 gl_FUNC_PRINTF_POSIX
index d6ae046..ab14894 100644 (file)
@@ -8,7 +8,7 @@ m4/ptsname.m4
 Depends-on:
 stdlib
 extensions
-ttyname_r
+ttyname_r       [test $HAVE_PTSNAME = 0]
 
 configure.ac:
 gl_FUNC_PTSNAME
index 3874b54..ce28e4c 100644 (file)
@@ -7,7 +7,7 @@ m4/putenv.m4
 
 Depends-on:
 stdlib
-malloc-posix
+malloc-posix    [test $REPLACE_PUTENV = 1]
 
 configure.ac:
 gl_FUNC_PUTENV
index 0770364..f2dd02f 100644 (file)
@@ -6,10 +6,10 @@ lib/pwrite.c
 m4/pwrite.m4
 
 Depends-on:
-extensions
-lseek
 unistd
-write
+extensions
+lseek           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
+write           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
 
 configure.ac:
 gl_FUNC_PWRITE
index 933ae5b..7f2af8f 100644 (file)
@@ -7,8 +7,8 @@ lib/readline.c
 m4/readline.m4
 
 Depends-on:
-getline
 havelib
+getline         [test "$gl_cv_lib_readline" = no]
 
 configure.ac:
 gl_FUNC_READLINE
index eb32ef5..37c03a7 100644 (file)
@@ -6,8 +6,8 @@ lib/readlink.c
 m4/readlink.m4
 
 Depends-on:
-stat
 unistd
+stat            [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1]
 
 configure.ac:
 gl_FUNC_READLINK
index 593f2c2..18f2f95 100644 (file)
@@ -6,11 +6,11 @@ lib/readlinkat.c
 m4/readlinkat.m4
 
 Depends-on:
+unistd
 extensions
 fcntl-h
-openat
-readlink
-unistd
+openat          [test $HAVE_READLINKAT = 0]
+readlink        [test $HAVE_READLINKAT = 0]
 
 configure.ac:
 gl_FUNC_READLINKAT
index 04602f9..c225917 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 8237565..9a6d833 100644 (file)
@@ -7,8 +7,8 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
-getpeername
+errno           [test "$ac_cv_header_winsock2_h" = yes]
+getpeername     [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 6a8f4c2..730076c 100644 (file)
@@ -12,23 +12,23 @@ m4/regex.m4
 m4/mbstate_t.m4
 
 Depends-on:
-alloca-opt
-btowc
 extensions
-gettext-h
-localcharset
-malloc-gnu
-memcmp
-memmove
-mbrtowc
-mbsinit
-nl_langinfo
-stdbool
-stdint
 ssize_t
-wchar
-wcrtomb
-wctype-h
+alloca-opt      [test $ac_use_included_regex = yes]
+btowc           [test $ac_use_included_regex = yes]
+gettext-h       [test $ac_use_included_regex = yes]
+localcharset    [test $ac_use_included_regex = yes]
+malloc-gnu      [test $ac_use_included_regex = yes]
+memcmp          [test $ac_use_included_regex = yes]
+memmove         [test $ac_use_included_regex = yes]
+mbrtowc         [test $ac_use_included_regex = yes]
+mbsinit         [test $ac_use_included_regex = yes]
+nl_langinfo     [test $ac_use_included_regex = yes]
+stdbool         [test $ac_use_included_regex = yes]
+stdint          [test $ac_use_included_regex = yes]
+wchar           [test $ac_use_included_regex = yes]
+wcrtomb         [test $ac_use_included_regex = yes]
+wctype-h        [test $ac_use_included_regex = yes]
 
 configure.ac:
 gl_REGEX
index 886a039..4723801 100644 (file)
@@ -6,9 +6,9 @@ lib/remove.c
 m4/remove.m4
 
 Depends-on:
-rmdir
 stdio
-unlink
+rmdir           [test $REPLACE_REMOVE = 1]
+unlink          [test $REPLACE_REMOVE = 1]
 
 configure.ac:
 gl_FUNC_REMOVE
index ae8390a..449d9be 100644 (file)
@@ -6,14 +6,14 @@ lib/rename.c
 m4/rename.m4
 
 Depends-on:
-canonicalize-lgpl
-dirname-lgpl
-lstat
-rmdir
-same-inode
-stdbool
 stdio
-strdup
+canonicalize-lgpl [test $REPLACE_RENAME = 1]
+dirname-lgpl      [test $REPLACE_RENAME = 1]
+lstat             [test $REPLACE_RENAME = 1]
+rmdir             [test $REPLACE_RENAME = 1]
+same-inode        [test $REPLACE_RENAME = 1]
+stdbool           [test $REPLACE_RENAME = 1]
+strdup            [test $REPLACE_RENAME = 1]
 
 configure.ac:
 gl_FUNC_RENAME
index 22bb650..15bc1ec 100644 (file)
@@ -7,15 +7,15 @@ lib/renameat.c
 m4/renameat.m4
 
 Depends-on:
+stdio
 extensions
 fcntl-h
-filenamecat-lgpl
-getcwd-lgpl
-openat
-rename
-same-inode
-stdio
-stpcpy
+filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+getcwd-lgpl      [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+openat           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+rename           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+same-inode       [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
+stpcpy           [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
 
 configure.ac:
 gl_FUNC_RENAMEAT
index eaa5a68..95e7b1d 100644 (file)
@@ -6,9 +6,9 @@ lib/rmdir.c
 m4/rmdir.m4
 
 Depends-on:
-dosname
-sys_stat
 unistd
+dosname         [test $REPLACE_RMDIR = 1]
+sys_stat        [test $REPLACE_RMDIR = 1]
 
 configure.ac:
 gl_FUNC_RMDIR
index c4acba1..07dcd88 100644 (file)
@@ -9,10 +9,10 @@ m4/floor.m4
 m4/ceil.m4
 
 Depends-on:
-float
-floor
 math
 extensions
+float           [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+floor           [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
 
 configure.ac:
 gl_FUNC_ROUND
index d77b2a1..d9c283e 100644 (file)
@@ -10,9 +10,9 @@ m4/floorf.m4
 m4/ceilf.m4
 
 Depends-on:
-float
 math
 extensions
+float           [test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1]
 
 configure.ac:
 gl_FUNC_ROUNDF
index 9eb9f1d..516ee0b 100644 (file)
@@ -10,9 +10,9 @@ m4/floorl.m4
 m4/ceill.m4
 
 Depends-on:
-float
 math
 extensions
+float           [test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1]
 
 configure.ac:
 gl_FUNC_ROUNDL
index 17a6c20..bfa5380 100644 (file)
@@ -8,10 +8,10 @@ m4/rpmatch.m4
 Depends-on:
 stdlib
 extensions
-stdbool
-gettext-h
-regex
-strdup
+stdbool         [test $HAVE_RPMATCH = 0]
+gettext-h       [test $HAVE_RPMATCH = 0]
+regex           [test $HAVE_RPMATCH = 0]
+strdup          [test $HAVE_RPMATCH = 0]
 
 configure.ac:
 gl_FUNC_RPMATCH
index 18865f1..ab4af6e 100644 (file)
@@ -6,9 +6,9 @@ lib/select.c
 m4/select.m4
 
 Depends-on:
-alloca
-sockets
 sys_select
+alloca          [test "$ac_cv_header_winsock2_h" = yes || test $REPLACE_SELECT = 1]
+sockets         [test "$ac_cv_header_winsock2_h" = yes || test $REPLACE_SELECT = 1]
 
 configure.ac:
 gl_FUNC_SELECT
index 4317d6f..8a07da9 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index d9a292c..b28a7ea 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 8112616..95ff0a0 100644 (file)
@@ -7,10 +7,10 @@ m4/setenv.m4
 
 Depends-on:
 stdlib
-malloca
-alloca-opt
-unistd
-environ
+malloca         [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
+alloca-opt      [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
+unistd          [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
+environ         [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
 
 configure.ac:
 gl_FUNC_SETENV
index 5d3e58b..918a037 100644 (file)
@@ -7,7 +7,7 @@ m4/setlocale.m4
 
 Depends-on:
 locale
-localename
+localename      [test $REPLACE_SETLOCALE = 1]
 
 configure.ac:
 gl_FUNC_SETLOCALE
index b429510..33726b1 100644 (file)
@@ -7,8 +7,8 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-sys_time
-errno
+sys_time        [test "$ac_cv_header_winsock2_h" = yes]
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index c1e0621..322ff8d 100644 (file)
@@ -7,7 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
+errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index 0e42e94..93b848a 100644 (file)
@@ -8,7 +8,7 @@ m4/sigaction.m4
 
 Depends-on:
 signal
-sigprocmask
+sigprocmask     [test $HAVE_SIGACTION = 0]
 
 configure.ac:
 gl_SIGACTION
index 14a5754..b3ad388 100644 (file)
@@ -9,13 +9,13 @@ lib/float+.h
 m4/signbit.m4
 
 Depends-on:
-float
 math
-isnanf-nolibm
-isnand-nolibm
-isnanl-nolibm
-fpieee
-memcmp
+float           [test $REPLACE_SIGNBIT = 1]
+isnanf-nolibm   [test $REPLACE_SIGNBIT = 1]
+isnand-nolibm   [test $REPLACE_SIGNBIT = 1]
+isnanl-nolibm   [test $REPLACE_SIGNBIT = 1]
+fpieee          [test $REPLACE_SIGNBIT = 1]
+memcmp          [test $REPLACE_SIGNBIT = 1]
 
 configure.ac:
 gl_SIGNBIT
index e46abc9..fee745f 100644 (file)
@@ -7,8 +7,8 @@ m4/signalblocking.m4
 
 Depends-on:
 signal
-stdint
-raise
+stdint          [test $HAVE_POSIX_SIGNALBLOCKING = 0]
+raise           [test $HAVE_POSIX_SIGNALBLOCKING = 0]
 
 configure.ac:
 gl_SIGNALBLOCKING
index 67621ed..4bb4222 100644 (file)
@@ -11,10 +11,10 @@ m4/sinl.m4
 Depends-on:
 math
 extensions
-float
-isnanl
-floor
-floorl
+float           [test $HAVE_SINL = 0]
+isnanl          [test $HAVE_SINL = 0]
+floor           [test $HAVE_SINL = 0]
+floorl          [test $HAVE_SINL = 0]
 
 configure.ac:
 gl_FUNC_SINL
index e859e59..c9b6c40 100644 (file)
@@ -6,9 +6,9 @@ lib/sleep.c
 m4/sleep.m4
 
 Depends-on:
-stdint
 unistd
-verify
+stdint          [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
+verify          [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
 
 configure.ac:
 gl_FUNC_SLEEP
index e8b5dfb..cd048aa 100644 (file)
@@ -8,8 +8,8 @@ m4/printf.m4
 
 Depends-on:
 stdio
-vasnprintf
-errno
+vasnprintf      [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+errno           [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
 
 configure.ac:
 gl_FUNC_SNPRINTF
index 16b38b7..874ba5a 100644 (file)
@@ -14,18 +14,18 @@ m4/printf.m4
 
 Depends-on:
 snprintf
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
 multiarch
+vasnprintf      [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+isnand-nolibm   [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+isnanl-nolibm   [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+frexp-nolibm    [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+frexpl-nolibm   [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+printf-frexp    [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+printf-frexpl   [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+signbit         [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
+fpucw           [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
 
 configure.ac:
 gl_FUNC_SNPRINTF_POSIX
index f5daa49..92df980 100644 (file)
@@ -7,8 +7,8 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
-errno
-sockets
+errno           [test "$ac_cv_header_winsock2_h" = yes]
+sockets         [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
index b5f02f6..cdcc8aa 100644 (file)
@@ -14,20 +14,20 @@ m4/printf.m4
 
 Depends-on:
 stdio
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
-stdint
-errno
 multiarch
+vasnprintf      [test $REPLACE_SPRINTF = 1]
+isnand-nolibm   [test $REPLACE_SPRINTF = 1]
+isnanl-nolibm   [test $REPLACE_SPRINTF = 1]
+frexp-nolibm    [test $REPLACE_SPRINTF = 1]
+frexpl-nolibm   [test $REPLACE_SPRINTF = 1]
+printf-frexp    [test $REPLACE_SPRINTF = 1]
+printf-frexpl   [test $REPLACE_SPRINTF = 1]
+signbit         [test $REPLACE_SPRINTF = 1]
+fpucw           [test $REPLACE_SPRINTF = 1]
+stdint          [test $REPLACE_SPRINTF = 1]
+errno           [test $REPLACE_SPRINTF = 1]
 
 configure.ac:
 gl_FUNC_SPRINTF_POSIX
index d488666..dec1db3 100644 (file)
@@ -8,11 +8,11 @@ m4/sqrtl.m4
 Depends-on:
 math
 extensions
-float
-isnanl
-frexpl
-ldexpl
-sqrt
+float           [test $HAVE_SQRTL = 0]
+isnanl          [test $HAVE_SQRTL = 0]
+frexpl          [test $HAVE_SQRTL = 0]
+ldexpl          [test $HAVE_SQRTL = 0]
+sqrt            [test $HAVE_SQRTL = 0]
 
 configure.ac:
 gl_FUNC_SQRTL
index 744aa7a..db179aa 100644 (file)
@@ -6,9 +6,9 @@ lib/stat.c
 m4/stat.m4
 
 Depends-on:
-dosname
-stdbool
 sys_stat
+dosname         [test $REPLACE_STAT = 1]
+stdbool         [test $REPLACE_STAT = 1]
 
 configure.ac:
 gl_FUNC_STAT
index 8ae3ea6..59c4cc6 100644 (file)
@@ -8,9 +8,9 @@ lib/strchrnul.valgrind
 m4/strchrnul.m4
 
 Depends-on:
-extensions
 string
-rawmemchr
+extensions
+rawmemchr       [test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1]
 
 configure.ac:
 gl_FUNC_STRCHRNUL
index 4a47488..d158873 100644 (file)
@@ -7,7 +7,7 @@ m4/strdup.m4
 
 Depends-on:
 string
-malloc-posix
+malloc-posix    [test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1]
 
 configure.ac:
 gl_FUNC_STRDUP_POSIX
index 1a204fa..cd14d12 100644 (file)
@@ -6,9 +6,9 @@ lib/strerror.c
 m4/strerror.m4
 
 Depends-on:
-errno
-intprops
 string
+errno           [test $REPLACE_STRERROR = 1]
+intprops        [test $REPLACE_STRERROR = 1]
 
 configure.ac:
 gl_FUNC_STRERROR
index 1a1d8c6..75345ed 100644 (file)
@@ -7,10 +7,10 @@ m4/strerror_r.m4
 
 Depends-on:
 string
-errno
 extensions
-lock
-strerror
+errno           [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
+lock            [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
+strerror        [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
 
 configure.ac:
 gl_FUNC_STRERROR_R
index 80f143b..c76e966 100644 (file)
@@ -6,9 +6,9 @@ lib/strndup.c
 m4/strndup.m4
 
 Depends-on:
-extensions
 string
-strnlen
+extensions
+strnlen         [test $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1]
 
 configure.ac:
 gl_FUNC_STRNDUP
index 2f50c9b..97fdd66 100644 (file)
@@ -6,9 +6,9 @@ lib/strnlen.c
 m4/strnlen.m4
 
 Depends-on:
-extensions
 string
-memchr-obsolete
+extensions
+memchr-obsolete [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1]
 
 configure.ac:
 gl_FUNC_STRNLEN
index 667d552..763dca5 100644 (file)
@@ -7,13 +7,13 @@ m4/strptime.m4
 m4/tm_gmtoff.m4
 
 Depends-on:
-extensions
-sys_time
-string
-strcase
-stdbool
 time
-time_r
+extensions
+sys_time        [test $HAVE_STRPTIME = 0]
+string          [test $HAVE_STRPTIME = 0]
+strcase         [test $HAVE_STRPTIME = 0]
+stdbool         [test $HAVE_STRPTIME = 0]
+time_r          [test $HAVE_STRPTIME = 0]
 
 configure.ac:
 gl_FUNC_STRPTIME
index 10ca817..eaa3032 100644 (file)
@@ -6,9 +6,9 @@ lib/strsep.c
 m4/strsep.m4
 
 Depends-on:
-extensions
 string
-strpbrk
+extensions
+strpbrk         [test $HAVE_STRSEP = 0]
 
 configure.ac:
 gl_FUNC_STRSEP
index 41dda4e..c8e3bfa 100644 (file)
@@ -8,12 +8,12 @@ m4/strsignal.m4
 
 Depends-on:
 string
-gettext-h
-lock
-tls
-snprintf
-memset
 extensions
+gettext-h       [test $ac_cv_func_strsignal = no || test $REPLACE_STRSIGNAL = 1]
+lock            [test $ac_cv_func_strsignal = no || test $REPLACE_STRSIGNAL = 1]
+tls             [test $ac_cv_func_strsignal = no || test $REPLACE_STRSIGNAL = 1]
+snprintf        [test $ac_cv_func_strsignal = no || test $REPLACE_STRSIGNAL = 1]
+memset          [test $ac_cv_func_strsignal = no || test $REPLACE_STRSIGNAL = 1]
 
 configure.ac:
 gl_FUNC_STRSIGNAL
index 9ebf5da..5f66b27 100644 (file)
@@ -8,9 +8,9 @@ m4/strstr.m4
 
 Depends-on:
 string
-stdbool
-memchr
-memcmp
+stdbool         [test $REPLACE_STRSTR = 1]
+memchr          [test $REPLACE_STRSTR = 1]
+memcmp          [test $REPLACE_STRSTR = 1]
 
 configure.ac:
 gl_FUNC_STRSTR_SIMPLE
index 935e5f8..4c21519 100644 (file)
@@ -7,10 +7,10 @@ m4/strtod.m4
 m4/ldexp.m4
 
 Depends-on:
-c-ctype
-stdbool
 stdlib
 strtod-obsolete
+c-ctype         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
+stdbool         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
 
 configure.ac:
 gl_FUNC_STRTOD
index c4e8982..155affe 100644 (file)
@@ -7,10 +7,10 @@ m4/longlong.m4
 m4/strtoimax.m4
 
 Depends-on:
-strtoll
-verify
 inttypes-incomplete
-stdint
+verify          [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no]
+stdint          [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no]
+strtoll         [test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes]
 
 configure.ac:
 gl_FUNC_STRTOIMAX
index 08afb43..bbfef2b 100644 (file)
@@ -7,7 +7,7 @@ m4/strtok_r.m4
 
 Depends-on:
 string
-strpbrk
+strpbrk         [test $ac_cv_func_strtok_r = no]
 
 configure.ac:
 gl_FUNC_STRTOK_R
index c2d615e..e2ef86c 100644 (file)
@@ -8,10 +8,10 @@ m4/longlong.m4
 m4/strtoumax.m4
 
 Depends-on:
-strtoull
-verify
 inttypes-incomplete
-stdint
+verify          [test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no]
+stdint          [test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no]
+strtoull        [test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes]
 
 configure.ac:
 gl_FUNC_STRTOUMAX
index 313a6a0..729f01c 100644 (file)
@@ -6,8 +6,8 @@ lib/symlink.c
 m4/symlink.m4
 
 Depends-on:
-lstat
 unistd
+lstat           [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1]
 
 configure.ac:
 gl_FUNC_SYMLINK
index 16646be..f2666af 100644 (file)
@@ -6,11 +6,11 @@ lib/symlinkat.c
 m4/symlinkat.m4
 
 Depends-on:
+unistd
 extensions
 fcntl-h
-openat
-symlink
-unistd
+openat          [test $HAVE_SYMLINKAT = 0]
+symlink         [test $HAVE_SYMLINKAT = 0]
 
 configure.ac:
 gl_FUNC_SYMLINKAT
index b00fd1b..520df45 100644 (file)
@@ -10,10 +10,10 @@ m4/tanl.m4
 Depends-on:
 math
 extensions
-float
-isnanl
-floor
-floorl
+float           [test $HAVE_TANL = 0]
+isnanl          [test $HAVE_TANL = 0]
+floor           [test $HAVE_TANL = 0]
+floorl          [test $HAVE_TANL = 0]
 
 configure.ac:
 gl_FUNC_TANL
index 1b72c8d..6dddb6e 100644 (file)
@@ -9,7 +9,7 @@ m4/tcgetsid.m4
 Depends-on:
 termios
 extensions
-sys_ioctl
+sys_ioctl       [test $ac_cv_func_tcgetsid = no]
 
 configure.ac:
 gl_FUNC_TCGETSID
index 0fa61e8..e65beb8 100644 (file)
@@ -7,9 +7,9 @@ m4/tmpfile.m4
 
 Depends-on:
 stdio
-pathmax
-tempname
-tmpdir
+pathmax         [test $REPLACE_TMPFILE = 1]
+tempname        [test $REPLACE_TMPFILE = 1]
+tmpdir          [test $REPLACE_TMPFILE = 1]
 
 configure.ac:
 gl_FUNC_TMPFILE
index 1c6f706..71863a5 100644 (file)
@@ -8,7 +8,7 @@ m4/trunc.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1]
 
 configure.ac:
 gl_FUNC_TRUNC
index 6c4c46f..15e35e8 100644 (file)
@@ -9,7 +9,7 @@ m4/truncf.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1]
 
 configure.ac:
 gl_FUNC_TRUNCF
index d3d8884..808c63e 100644 (file)
@@ -9,7 +9,7 @@ m4/truncl.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1]
 
 configure.ac:
 gl_FUNC_TRUNCL
index ac5ad88..e7364ad 100644 (file)
@@ -7,7 +7,7 @@ m4/uname.m4
 
 Depends-on:
 sys_utsname
-gethostname
+gethostname     [test $HAVE_UNAME = 0]
 
 configure.ac:
 gl_FUNC_UNAME
index a27a308..26af43d 100644 (file)
@@ -6,9 +6,9 @@ lib/unlink.c
 m4/unlink.m4
 
 Depends-on:
-dosname
-lstat
 unistd
+dosname         [test $REPLACE_UNLINK = 1]
+lstat           [test $REPLACE_UNLINK = 1]
 
 configure.ac:
 gl_FUNC_UNLINK
index 4eadff8..3a5c7b8 100644 (file)
@@ -9,7 +9,7 @@ m4/unlockpt.m4
 Depends-on:
 stdlib
 extensions
-ptsname
+ptsname         [test $HAVE_UNLOCKPT = 0]
 
 configure.ac:
 gl_FUNC_UNLOCKPT
index 6dff883..26662b3 100644 (file)
@@ -7,8 +7,8 @@ m4/setenv.m4
 
 Depends-on:
 stdlib
-unistd
-environ
+unistd          [test $ac_cv_func_unsetenv = no || test $REPLACE_UNSETENV = 1]
+environ         [test $ac_cv_func_unsetenv = no || test $REPLACE_UNSETENV = 1]
 
 configure.ac:
 gl_FUNC_UNSETENV
index c77826b..0bee1cc 100644 (file)
@@ -6,9 +6,9 @@ lib/usleep.c
 m4/usleep.m4
 
 Depends-on:
-extensions
-sleep
 unistd
+extensions
+sleep           [test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1]
 
 configure.ac:
 gl_FUNC_USLEEP
index 2377080..858fee1 100644 (file)
@@ -6,10 +6,10 @@ lib/utimensat.c
 m4/utimensat.m4
 
 Depends-on:
-openat
 sys_stat
-utimens
 extensions
+openat          [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+utimens         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
 
 configure.ac:
 gl_FUNC_UTIMENSAT
index e0eed16..0b8e141 100644 (file)
@@ -12,10 +12,10 @@ lib/asprintf.c
 m4/vasprintf.m4
 
 Depends-on:
-extensions
-vasnprintf
 stdio
-errno
+extensions
+vasnprintf      [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
+errno           [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VASPRINTF
index 3ddda20..eba4471 100644 (file)
@@ -7,9 +7,9 @@ m4/vdprintf.m4
 
 Depends-on:
 stdio
-vasnprintf
-full-write
-errno
+vasnprintf      [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+full-write      [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+errno           [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VDPRINTF
index 649eacf..518ecde 100644 (file)
@@ -14,18 +14,18 @@ m4/printf.m4
 
 Depends-on:
 vdprintf
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
 multiarch
+vasnprintf      [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+isnand-nolibm   [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+isnanl-nolibm   [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+frexp-nolibm    [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+frexpl-nolibm   [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+printf-frexp    [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+printf-frexpl   [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+signbit         [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
+fpucw           [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VDPRINTF_POSIX
index 45af363..69b6608 100644 (file)
@@ -14,20 +14,20 @@ m4/printf.m4
 
 Depends-on:
 stdio
-fseterr
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
-errno
 multiarch
+fseterr         [test $REPLACE_VFPRINTF = 1]
+vasnprintf      [test $REPLACE_VFPRINTF = 1]
+isnand-nolibm   [test $REPLACE_VFPRINTF = 1]
+isnanl-nolibm   [test $REPLACE_VFPRINTF = 1]
+frexp-nolibm    [test $REPLACE_VFPRINTF = 1]
+frexpl-nolibm   [test $REPLACE_VFPRINTF = 1]
+printf-frexp    [test $REPLACE_VFPRINTF = 1]
+printf-frexpl   [test $REPLACE_VFPRINTF = 1]
+signbit         [test $REPLACE_VFPRINTF = 1]
+fpucw           [test $REPLACE_VFPRINTF = 1]
+errno           [test $REPLACE_VFPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VFPRINTF_POSIX
index 319d83d..b861d10 100644 (file)
@@ -14,8 +14,8 @@ m4/printf.m4
 
 Depends-on:
 stdio
-vfprintf-posix
 printf-safe
+vfprintf-posix  [test $REPLACE_VPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VPRINTF_POSIX
index ce44cf1..053b10c 100644 (file)
@@ -9,8 +9,8 @@ m4/printf.m4
 
 Depends-on:
 stdio
-vasnprintf
-errno
+vasnprintf      [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+errno           [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VSNPRINTF
index 0f36cd9..198beeb 100644 (file)
@@ -14,18 +14,18 @@ m4/printf.m4
 
 Depends-on:
 vsnprintf
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
 multiarch
+vasnprintf      [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+isnand-nolibm   [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+isnanl-nolibm   [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+frexp-nolibm    [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+frexpl-nolibm   [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+printf-frexp    [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+printf-frexpl   [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+signbit         [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
+fpucw           [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VSNPRINTF_POSIX
index 44d89f5..10e5385 100644 (file)
@@ -14,20 +14,20 @@ m4/printf.m4
 
 Depends-on:
 stdio
-vasnprintf
-isnand-nolibm
-isnanl-nolibm
-frexp-nolibm
-frexpl-nolibm
-printf-frexp
-printf-frexpl
-signbit
-fpucw
 nocrash
 printf-safe
-stdint
-errno
 multiarch
+vasnprintf      [test $REPLACE_VSPRINTF = 1]
+isnand-nolibm   [test $REPLACE_VSPRINTF = 1]
+isnanl-nolibm   [test $REPLACE_VSPRINTF = 1]
+frexp-nolibm    [test $REPLACE_VSPRINTF = 1]
+frexpl-nolibm   [test $REPLACE_VSPRINTF = 1]
+printf-frexp    [test $REPLACE_VSPRINTF = 1]
+printf-frexpl   [test $REPLACE_VSPRINTF = 1]
+signbit         [test $REPLACE_VSPRINTF = 1]
+fpucw           [test $REPLACE_VSPRINTF = 1]
+stdint          [test $REPLACE_VSPRINTF = 1]
+errno           [test $REPLACE_VSPRINTF = 1]
 
 configure.ac:
 gl_FUNC_VSPRINTF_POSIX
index cdafa55..f9fea15 100644 (file)
@@ -12,9 +12,9 @@ m4/locale-zh.m4
 m4/codeset.m4
 
 Depends-on:
-extensions
 wchar
-mbsinit
+extensions
+mbsinit         [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1]
 
 configure.ac:
 gl_FUNC_WCRTOMB
index 18c549c..4639354 100644 (file)
@@ -8,7 +8,7 @@ m4/wcscasecmp.m4
 
 Depends-on:
 wchar
-wctype-h
+wctype-h        [test $HAVE_WCSCASECMP = 0]
 
 configure.ac:
 gl_FUNC_WCSCASECMP
index 2034b81..14b9a24 100644 (file)
@@ -14,8 +14,8 @@ m4/wcscspn.m4
 
 Depends-on:
 wchar
-wcslen
-wcschr
+wcslen          [test $HAVE_WCSCSPN = 0]
+wcschr          [test $HAVE_WCSCSPN = 0]
 
 configure.ac:
 gl_FUNC_WCSCSPN
index 7e3cd66..49a512e 100644 (file)
@@ -8,8 +8,8 @@ m4/wcsdup.m4
 
 Depends-on:
 wchar
-wcslen
-wmemcpy
+wcslen          [test $HAVE_WCSDUP = 0]
+wmemcpy         [test $HAVE_WCSDUP = 0]
 
 configure.ac:
 gl_FUNC_WCSDUP
index 88f3619..3a1f84a 100644 (file)
@@ -8,7 +8,7 @@ m4/wcsncasecmp.m4
 
 Depends-on:
 wchar
-wctype-h
+wctype-h        [test $HAVE_WCSNCASECMP = 0]
 
 configure.ac:
 gl_FUNC_WCSNCASECMP
index e8e975a..3582ae5 100644 (file)
@@ -13,9 +13,9 @@ m4/locale-zh.m4
 m4/codeset.m4
 
 Depends-on:
-extensions
 wchar
-wcrtomb
+extensions
+wcrtomb         [test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1]
 
 configure.ac:
 gl_FUNC_WCSNRTOMBS
index a5b34f5..b7aefa4 100644 (file)
@@ -14,7 +14,7 @@ m4/wcspbrk.m4
 
 Depends-on:
 wchar
-wcschr
+wcschr          [test $HAVE_WCSPBRK = 0]
 
 configure.ac:
 gl_FUNC_WCSPBRK
index 235b06b..49c0503 100644 (file)
@@ -14,9 +14,9 @@ m4/locale-zh.m4
 m4/codeset.m4
 
 Depends-on:
-extensions
 wchar
-wcrtomb
+extensions
+wcrtomb         [test $HAVE_WCSRTOMBS = 0 || test $REPLACE_WCSRTOMBS = 1]
 
 configure.ac:
 gl_FUNC_WCSRTOMBS
index 3ecd53b..035398d 100644 (file)
@@ -14,7 +14,7 @@ m4/wcsspn.m4
 
 Depends-on:
 wchar
-wcschr
+wcschr          [test $HAVE_WCSSPN = 0]
 
 configure.ac:
 gl_FUNC_WCSSPN
index 22a2fb7..d4f22f8 100644 (file)
@@ -8,7 +8,7 @@ m4/wcsstr.m4
 
 Depends-on:
 wchar
-wcschr
+wcschr          [test $HAVE_WCSSTR = 0]
 
 configure.ac:
 gl_FUNC_WCSSTR
index 6f92b05..dc78e13 100644 (file)
@@ -8,8 +8,8 @@ m4/wcstok.m4
 
 Depends-on:
 wchar
-wcsspn
-wcspbrk
+wcsspn          [test $HAVE_WCSTOK = 0]
+wcspbrk         [test $HAVE_WCSTOK = 0]
 
 configure.ac:
 gl_FUNC_WCSTOK
index 2b748eb..629f21d 100644 (file)
@@ -9,7 +9,7 @@ m4/wcswidth.m4
 
 Depends-on:
 wchar
-wcwidth
+wcwidth         [test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1]
 
 configure.ac:
 gl_FUNC_WCSWIDTH
index eba2ebf..be430eb 100644 (file)
@@ -9,7 +9,7 @@ m4/codeset.m4
 
 Depends-on:
 wchar
-wctomb
+wctomb          [test $ac_cv_func_wctob = no || test $REPLACE_WCTOB = 1]
 
 configure.ac:
 gl_FUNC_WCTOB
index 81d41c4..5077005 100644 (file)
@@ -8,8 +8,8 @@ m4/wctomb.m4
 
 Depends-on:
 stdlib
-wcrtomb
-wchar
+wcrtomb         [test $REPLACE_WCTOMB = 1]
+wchar           [test $REPLACE_WCTOMB = 1]
 
 configure.ac:
 gl_FUNC_WCTOMB
index d248164..ffc76a8 100644 (file)
@@ -14,7 +14,7 @@ m4/wctype.m4
 
 Depends-on:
 wctype-h
-iswblank
+iswblank        [test $HAVE_WCTYPE_T = 0]
 
 configure.ac:
 gl_FUNC_WCTYPE
index e4a9460..27327a1 100644 (file)
@@ -8,12 +8,12 @@ m4/wchar_t.m4
 m4/wint_t.m4
 
 Depends-on:
-extensions
 wchar
-wctype-h
-localcharset
-streq
-uniwidth/width
+extensions
+wctype-h        [test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1]
+localcharset    [test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1]
+streq           [test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1]
+uniwidth/width  [test $ac_cv_func_wcwidth != yes || test $REPLACE_WCWIDTH = 1]
 
 configure.ac:
 gl_FUNC_WCWIDTH
index 0f0fc5f..736e40b 100644 (file)
@@ -7,7 +7,7 @@ m4/write.m4
 
 Depends-on:
 unistd
-raise
+raise           [test $REPLACE_WRITE = 1]
 
 configure.ac:
 gl_FUNC_WRITE