openat: test for fstatat (..., 0) bug
[gnulib.git] / modules / fcntl
index 855ee9f..4c30e9e 100644 (file)
@@ -13,6 +13,9 @@ getdtablesize   [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 
 configure.ac:
 gl_FUNC_FCNTL
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
+  AC_LIBOBJ([fcntl])
+fi
 gl_FCNTL_MODULE_INDICATOR([fcntl])
 
 Makefile.am: