gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / openpty
index bfe427d..8d174da 100644 (file)
@@ -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