autoupdate
[gnulib.git] / modules / login_tty
index 41cb837..abf7482 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: