Depends-on:
dup2
+opendir
+closedir
configure.ac:
TESTS += test-dirent-safer
check_PROGRAMS += test-dirent-safer
# Link with libintl when needed. dirent-safer uses fdopendir if it is present,
-# and fdopendir indirectly depends on xgetcwd -> xalloc-die -> gettext-h.
+# and fdopendir indirectly depends on openat-die -> gettext-h.
test_dirent_safer_LDADD = $(LDADD) $(LIBINTL)