X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffchdir;h=d3fe0e53842fbe1759041b16eac7746e19cd1217;hb=8fc864a0b873beea0c37acb7898a8cf5f497fb4e;hp=4a501417c56c6c72cc4afe0bd9c5dce8c4d09220;hpb=c002371c8ca3c2e0cd689b84bc5e94721ba00255;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index 4a501417c..d3fe0e538 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,34 +3,26 @@ 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 +sys_stat +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' \ - < $(srcdir)/dirent_.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += dirent.h dirent.h-t Include: #include @@ -40,4 +32,3 @@ LGPL Maintainer: Bruno Haible -