diff options
author | Eric Blake <ebb9@byu.net> | 2009-12-29 17:01:09 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-12-29 20:55:40 -0700 |
commit | 2233a5dfb90328805fea25b6ff386f1be8e172f6 (patch) | |
tree | 0b2c8c9f6c3d40ab4510b52547c6035e5740c942 /m4 | |
parent | edc6ae6158ec6c611538d4093a10012c9c283f29 (diff) | |
download | gnulib-2233a5dfb90328805fea25b6ff386f1be8e172f6.tar.gz |
tests: test more substitute headers
Add tests of common headers, in preparation of always providing
a gnulib wrapper (for improved LINK_WARNING support).
* modules/ctype-tests: New file.
* modules/dirent-tests: Likewise.
* modules/spawn-tests: Likewise.
* modules/sys_file-tests: Likewise.
* modules/sys_ioctl-tests: Likewise.
* modules/sys_wait-tests: Likewise.
* tests/test-ctype.c: Likewise.
* tests/test-dirent.c: Likewise.
* tests/test-spawn.c: Likewise.
* tests/test-sys_file.c: Likewise.
* tests/test-sys_ioctl.c: Likewise.
* tests/test-sys_wait.c: Likewise.
* m4/spawn_h.m4 (gl_SPAWN_H): Replace header if it is missing.
* lib/sys_file.in.h (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Provide
whether or not flock is in use.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/spawn_h.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4 index 4c0c610e20..dd915fabdb 100644 --- a/m4/spawn_h.m4 +++ b/m4/spawn_h.m4 @@ -1,4 +1,4 @@ -# spawn_h.m4 serial 2 +# spawn_h.m4 serial 3 dnl Copyright (C) 2008-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -21,6 +21,7 @@ AC_DEFUN([gl_SPAWN_H], HAVE_SPAWN_H=1 else HAVE_SPAWN_H=0 + gl_REPLACE_SPAWN_H fi AC_SUBST([HAVE_SPAWN_H]) |