openat: test for fstatat (..., 0) bug
[gnulib.git] / modules / unlockpt
index 3a5c7b8..b5d98cf 100644 (file)
@@ -13,6 +13,10 @@ ptsname         [test $HAVE_UNLOCKPT = 0]
 
 configure.ac:
 gl_FUNC_UNLOCKPT
+if test $HAVE_UNLOCKPT = 0; then
+  AC_LIBOBJ([unlockpt])
+  gl_PREREQ_UNLOCKPT
+fi
 gl_STDLIB_MODULE_INDICATOR([unlockpt])
 
 Makefile.am: