roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / modules / login_tty
index 41cb837f1509fa35d015f060240f41dd8a1c09f8..abf7482ccfd3bc45571b3801c1bdfb6e186251d3 100644 (file)
@@ -7,9 +7,14 @@ lib/login_tty.c
 m4/pty.m4
 
 Depends-on:
+pty
+sys_ioctl
 
 configure.ac:
 gl_FUNC_LOGIN_TTY
+if test $ac_cv_func_login_tty = no; then
+  AC_LIBOBJ([login_tty])
+fi
 gl_PTY_MODULE_INDICATOR([login_tty])
 
 Makefile.am: