install-reloc: Support multi-binary installation.
[gnulib.git] / modules / login_tty
index 032472f..abf7482 100644 (file)
@@ -8,9 +8,13 @@ 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: