Mercurial > hg > octave-lojdl > gnulib-hg
comparison modules/dirent @ 10663:2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 19 Oct 2008 12:47:52 +0200 |
parents | fb8bcb95d71a |
children | 6c37790abb93 |
comparison
equal
deleted
inserted
replaced
10662:ad36db29dad7 | 10663:2b0380d48ff6 |
---|---|
6 m4/dirent_h.m4 | 6 m4/dirent_h.m4 |
7 m4/unistd_h.m4 | 7 m4/unistd_h.m4 |
8 | 8 |
9 Depends-on: | 9 Depends-on: |
10 include_next | 10 include_next |
11 link-warning | |
11 | 12 |
12 configure.ac: | 13 configure.ac: |
13 gl_DIRENT_H | 14 gl_DIRENT_H |
14 | 15 |
15 Makefile.am: | 16 Makefile.am: |
21 rm -f $@-t $@ | 22 rm -f $@-t $@ |
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | 23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
23 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | 24 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
24 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | 25 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
25 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ | 26 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ |
27 -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \ | |
28 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ | |
26 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ | 29 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ |
30 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
27 < $(srcdir)/dirent.in.h; \ | 31 < $(srcdir)/dirent.in.h; \ |
28 } > $@-t | 32 } > $@-t |
29 mv $@-t $@ | 33 mv $@-t $@ |
30 MOSTLYCLEANFILES += dirent.h dirent.h-t | 34 MOSTLYCLEANFILES += dirent.h dirent.h-t |
31 | 35 |