Doc update.
[pspp] / modules / tcgetsid
index 6dddb6eb331d6f10f29c5fd0295388d922a5ca5b..38fc9e3e5099b33d5fa0a724f3a9ce1985e053f6 100644 (file)
@@ -9,10 +9,14 @@ m4/tcgetsid.m4
 Depends-on:
 termios
 extensions
-sys_ioctl       [test $ac_cv_func_tcgetsid = no]
+sys_ioctl       [test $HAVE_TCGETSID = 0]
 
 configure.ac:
 gl_FUNC_TCGETSID
+if test $HAVE_TCGETSID = 0; then
+  AC_LIBOBJ([tcgetsid])
+  gl_PREREQ_TCGETSID
+fi
 gl_TERMIOS_MODULE_INDICATOR([tcgetsid])
 
 Makefile.am: