X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=modules%2Ffchdir;h=4b25e52257bb4a3f88b4066383c009cc48d66f9b;hb=7cb5727b0a62d475c2a41c4c0c698f38d845c63d;hp=c2b94b0f638c3a8b315066a166effbc078286f95;hpb=af36a1d14d56f565ba2ffc4edf046b579c2b9148;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index c2b94b0f6..4b25e5225 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,37 +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 +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 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/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \ - -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ - < $(srcdir)/dirent_.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += dirent.h dirent.h-t Include: #include