pty: improve replacement header
authorEric Blake <eblake@redhat.com>
Thu, 18 Mar 2010 16:23:10 +0000 (10:23 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 19 Mar 2010 15:32:04 +0000 (09:32 -0600)
commit953fd38889e35a0ddbf8e9ada17f4fd001662003
treec873886687de55edf9574e87e1fee88eb97ebfe6
parent71328e33511a5de1c0bbdbfd5fa4b5848aac12a6
pty: improve replacement header

Build pty.h in the same way as all other replacement headers.

* lib/pty.in.h: New file.
* modules/pty (Files): Ship it.
(Makefile.am): Always build replacement.
* m4/pty.m4: Rename...
* m4/pty_h.m4: ...to this.
(gl_PTY): Modernize setting of witness macros; update check of
forkpty to take proper advantage of cache.
(gl_PTY_MODULE_INDICATOR, gl_PTY_H_DEFAULTS): New macros.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/pty.in.h [new file with mode: 0644]
m4/pty.m4 [deleted file]
m4/pty_h.m4 [new file with mode: 0644]
modules/pty