Add CVS checkout update instructions.
[gnulib.git] / modules / fchdir
index b8fa651..ae562e7 100644 (file)
@@ -7,6 +7,8 @@ lib/dirent_.h
 m4/fchdir.m4
 
 Depends-on:
+include_next
+dup2
 fcntl
 unistd
 canonicalize-lgpl
@@ -15,16 +17,19 @@ strdup
 
 configure.ac:
 gl_FUNC_FCHDIR
+gl_UNISTD_MODULE_INDICATOR([fchdir])
 
 Makefile.am:
-BUILT_SOURCES += $(DIRENT_H) $(UNISTD_H2)
+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' \
+         sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
+             -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
              < $(srcdir)/dirent_.h; \
        } > $@-t
        mv $@-t $@
@@ -38,4 +43,3 @@ LGPL
 
 Maintainer:
 Bruno Haible
-