X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Ffchdir;h=366831413c8cc02bff63c60d66b8f6313a46e00b;hb=c2318e88599d84748f3537b54646913f0af0eb20;hp=ae562e72ce809713d20dd7bfdb9b2aa7a2f0a760;hpb=73f2a1c055c8dfa46d1a4db04a841d952e11c6a0;p=gnulib.git diff --git a/modules/fchdir b/modules/fchdir index ae562e72c..366831413 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -3,17 +3,18 @@ fchdir() function: change current directory, given an open file descriptor. Files: lib/fchdir.c -lib/dirent_.h +lib/dirent.in.h m4/fchdir.m4 Depends-on: -include_next -dup2 -fcntl -unistd canonicalize-lgpl dirfd +dup2 +fcntl +include_next +open strdup +unistd configure.ac: gl_FUNC_FCHDIR @@ -24,13 +25,14 @@ 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 +dirent.h: dirent.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ - < $(srcdir)/dirent_.h; \ + < $(srcdir)/dirent.in.h; \ } > $@-t mv $@-t $@ MOSTLYCLEANFILES += dirent.h dirent.h-t