summaryrefslogtreecommitdiff
path: root/m4/pty.m4
Commit message (Collapse)AuthorAgeFilesLines
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* login_tty: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-4/+1
| | | | | * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Move AC_LIBOBJ invocation from here... * modules/login_tty (configure.ac): ... to here.
* openpty: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-3/+2
| | | | | * m4/pty.m4 (gl_FUNC_OPENPTY): Move AC_LIBOBJ invocations from here... * modules/openpty (configure.ac): ... to here.
* forkpty: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-3/+1
| | | | | * m4/pty.m4 (gl_FUNC_FORKPTY): Move AC_LIBOBJ invocations from here... * modules/forkpty (configure.ac): ... to here.
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-011-1/+1
| | | | Run the new "make update-copyright" rule.
* login_tty: Fix detection of function on FreeBSD, OpenBSD, NetBSD.Bruno Haible2010-09-171-2/+5
| | | | | | * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Augment LIBS while checking whether login_tty exists. Reported by Mats Erik Andersson <mats.andersson@gisladisker.se>.
* pty, readutmp: Fix for FreeBSD 8.0 and OpenBSD 4.6.Bruno Haible2010-09-101-1/+9
| | | | | | | | | | | | * doc/glibc-functions/login_tty.texi: Mention the include file problem on FreeBSD 8.0 and OpenBSD 4.6. * lib/pty.in.h: Include <sys/types.h> before <libutil.h>. * m4/pty_h.m4 (gl_PTY_H): Likewise. * m4/pty.m4 (gl_FUNC_FORKPTY, gl_FUNC_OPENPTY): Likewise. * m4/readutmp.m4 (gl_READUTMP): Include <sys/types.h> before <utmp.h>. Invoke AC_INCLUDES_DEFAULT instead of using the undocumented variable ac_includes_default. Reported by Mats Erik Andersson <mats.andersson@gisladisker.se>.
* openpty: Fix mistake from 2010-03-21.Bruno Haible2010-04-161-1/+3
|
* Rename gl_FORKPTY and gl_OPENPTY.Bruno Haible2010-03-271-3/+3
|
* forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.Bruno Haible2010-03-221-17/+24
|
* New module 'login_tty'.Bruno Haible2010-03-221-1/+11
|
* pty: Consistent macro naming.Bruno Haible2010-03-221-3/+3
|
* openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.Bruno Haible2010-03-221-16/+27
|
* forkpty, openpty: prefer glibc's const-safe prototypeEric Blake2010-03-191-1/+81
| | | | | | | | | | | | | | | | | | | | | | This silences a compiler warning for test-forkpty.c. * lib/forkpty.c (rpl_forkpty): New file. * lib/openpty.c (rpl_openpty): Likewise. * modules/forkpty (Files): Distribute it. * modules/openpty (Files): Likewise. * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses. Move decl check... * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): ...here. Request replacement for for non-const BSD signature. * modules/pty (Makefile.am): Substitute witnesses. * lib/pty.in.h (forkpty, openpty): Declare replacements. * tests/test-forkpty.c: Update signature check. * tests/test-openpty.c: Likewise. * doc/glibc-functions/forkpty.texi (forkpty): Document the fix. * doc/glibc-functions/openpty.texi (openpty): Likewise. Reported by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
* forkpty, openpty: split functions into new modulesEric Blake2010-03-191-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* pty: improve replacement headerEric Blake2010-03-191-43/+0
| | | | | | | | | | | | | | | 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>
* pty: Make forkpty check work.Simon Josefsson2010-03-171-0/+1
|
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+1
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* Use spaces for indentation, not tabs.Bruno Haible2009-12-101-1/+1
|
* Add pty module for forkpty and openpty.Simon Josefsson2009-12-101-0/+42