Update module dependencies.
[pspp] / modules / fchdir
index d64766834173ade5e568d58e77aa42b29663a86b..17e842c6406f46e824325866bd14dccfabe6a4a4 100644 (file)
@@ -3,36 +3,25 @@ fchdir() function: change current directory, given an open file descriptor.
 
 Files:
 lib/fchdir.c
-lib/dirent_.h
 m4/fchdir.m4
 
 Depends-on:
-absolute-header
-dup2
-fcntl
-unistd
 canonicalize-lgpl
+close
+dirent
 dirfd
+dup2
+fcntl-h
+include_next
+open
 strdup
+unistd
 
 configure.ac:
 gl_FUNC_FCHDIR
 gl_UNISTD_MODULE_INDICATOR([fchdir])
 
 Makefile.am:
-BUILT_SOURCES += $(DIRENT_H)
-
-# We need the following in order to create <dirent.h> when the system
-# doesn't have one that works with the given compiler.
-dirent.h: dirent_.h
-       rm -f $@-t $@
-       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_DIRENT_H''@|$(ABSOLUTE_DIRENT_H)|g' \
-             -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
-             < $(srcdir)/dirent_.h; \
-       } > $@-t
-       mv $@-t $@
-MOSTLYCLEANFILES += dirent.h dirent.h-t
 
 Include:
 #include <unistd.h>
@@ -42,4 +31,3 @@ LGPL
 
 Maintainer:
 Bruno Haible
-