X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffchdir;h=4b25e52257bb4a3f88b4066383c009cc48d66f9b;hb=0a3f7af426469ab51370585e1a3afba66ff24b57;hp=7cb47ddda264662cf64e0ea96c2b7ecaeec9b5a5;hpb=0f5a6cf4eb2f2248950491a558b3019a0a58b9ac;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index 7cb47ddda..4b25e5225 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,11 +3,12 @@ fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c -lib/dirent.in.h m4/fchdir.m4 Depends-on: canonicalize-lgpl +close +dirent dirfd dup2 fcntl @@ -21,20 +22,6 @@ gl_FUNC_FCHDIR gl_UNISTD_MODULE_INDICATOR([fchdir]) Makefile.am: -BUILT_SOURCES += $(DIRENT_H) - -# We need the following in order to create when the system -# doesn't have one that works with the given compiler. -dirent.h: dirent.in.h - rm -f $@-t $@ - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - 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.in.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += dirent.h dirent.h-t Include: #include