X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fopenpty;h=8d174da7cb4db2fc08956c3929e8eefc2160357a;hb=2b7c2713dc823b924ec88f481be1671bf53b6da3;hp=bfe427da8c4515eb3eef8c51c4c460db91adfc1e;hpb=0c36c3169eddff793fa25a99519e4405f81d6df3;p=gnulib.git diff --git a/modules/openpty b/modules/openpty index bfe427da8..8d174da7c 100644 --- a/modules/openpty +++ b/modules/openpty @@ -8,11 +8,15 @@ m4/pty.m4 Depends-on: pty extensions -fcntl-h -ioctl +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: @@ -24,7 +28,7 @@ Link: $(PTY_LIB) License: -LGPL +LGPLv2+ Maintainer: Simon Josefsson