X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fopenpty;h=8d174da7cb4db2fc08956c3929e8eefc2160357a;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=1608a8da47b63a6cf526bd7fd30c29c494e6a611;hpb=8e7bc4d9d435c2d18be77134896aa823733816a0;p=gnulib.git diff --git a/modules/openpty b/modules/openpty index 1608a8da4..8d174da7c 100644 --- a/modules/openpty +++ b/modules/openpty @@ -1,5 +1,5 @@ Description: -Provide the openpty() function. +openpty() function: Open a pseudo-terminal. Files: lib/openpty.c @@ -7,9 +7,16 @@ m4/pty.m4 Depends-on: pty +extensions +fcntl-h [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] +posix_openpt [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] +ioctl [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] configure.ac: -gl_OPENPTY +gl_FUNC_OPENPTY +if test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1; then + AC_LIBOBJ([openpty]) +fi gl_PTY_MODULE_INDICATOR([openpty]) Makefile.am: @@ -21,7 +28,7 @@ Link: $(PTY_LIB) License: -LGPL +LGPLv2+ Maintainer: Simon Josefsson