NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / tcgetsid
index 6dddb6e..38fc9e3 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: