fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / forkpty
index 8fcb3821967e26cad39ab05176c9dc4b7d93556f..b04a4dadeb42f76a3cfd2e42279db222d1aa7d2f 100644 (file)
@@ -1,5 +1,6 @@
 Description:
-Provide the forkpty() function.
+forkpty() function: Open a pseudo-terminal, fork, and connect the child process
+to the pseudo-terminal's slave.
 
 Files:
 lib/forkpty.c
@@ -7,9 +8,14 @@ m4/pty.m4
 
 Depends-on:
 pty
+openpty
+login_tty
 
 configure.ac:
-gl_FORKPTY
+gl_FUNC_FORKPTY
+if test $HAVE_FORKPTY = 0 || test $REPLACE_FORKPTY = 1; then
+  AC_LIBOBJ([forkpty])
+fi
 gl_PTY_MODULE_INDICATOR([forkpty])
 
 Makefile.am: