diff options
author | Eric Blake <eblake@redhat.com> | 2010-03-18 13:49:25 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-03-19 09:34:35 -0600 |
commit | 9d84afa467b0a9abcd6e0d90fc7d1608f07bf2f1 (patch) | |
tree | a96f29ad77e1b9fc162620ac6102bb2c9eb58a47 /modules/pty-tests | |
parent | 953fd38889e35a0ddbf8e9ada17f4fd001662003 (diff) | |
download | gnulib-9d84afa467b0a9abcd6e0d90fc7d1608f07bf2f1.tar.gz |
forkpty, openpty: split functions into new modules
The pty module was doing too much - replacing the header and checking
for functions. In the future, when we provide a working forkpty for
Solaris and HP-UX, and a stub for mingw, then the separation will be
even more useful.
* modules/pty (Makefile.am): Substitute new witnesses.
(Libraries): Move library detection...
* modules/forkpty: ...into new module.
* modules/openpty: Another new module.
* modules/pty-tests: Rename and split...
* modules/forkpty-tests: ...to this...
* modules/openpty-tests: ...and this.
* tests/test-pty.c: Rename and split...
* tests/test-forkpty.c: ...to this...
* tests/test-openpty.c: ...and this.
* m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses.
(gl_PTY): Split library searching...
* m4/pty.m4 (gl_PTY_LIB): ...into new file.
(gl_FORKPTY, gl_OPENPTY): New macros.
* lib/pty.in.h (forkpty, openpty): Honor new witnesses.
* NEWS: Mention the split.
* MODULES.html.sh (Misc): Document the modules.
* doc/glibc-functions/forkpty.texi (forkpty): Likewise.
* doc/glibc-functions/openpty.texi (openpty): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/pty-tests')
-rw-r--r-- | modules/pty-tests | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/pty-tests b/modules/pty-tests deleted file mode 100644 index 870d5182f7..0000000000 --- a/modules/pty-tests +++ /dev/null @@ -1,8 +0,0 @@ -Files: -tests/signature.h -tests/test-pty.c - -Makefile.am: -TESTS += test-pty -check_PROGRAMS += test-pty -test_pty_LDADD = $(LDADD) $(PTY_LIB) |