getcwd: fix test failures on mingw
[gnulib.git] / modules / euidaccess
index 56bcf28..a339e45 100644 (file)
@@ -14,6 +14,10 @@ sys_stat        [test $HAVE_EUIDACCESS = 0]
 
 configure.ac:
 gl_FUNC_EUIDACCESS
+if test $HAVE_EUIDACCESS = 0; then
+  AC_LIBOBJ([euidaccess])
+  gl_PREREQ_EUIDACCESS
+fi
 gl_UNISTD_MODULE_INDICATOR([euidaccess])
 
 Makefile.am: