Mercurial > hg > octave-shane > gnulib-hg
annotate modules/dirfd @ 17632:86af85d364e1 default tip
unistd: port readlink to Mac OS X 10.3.9
* lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work
around self-include problem in Mac OS X 10.3.9 when combined with
readlink module. Problem reported by Klaus Zietler in
<http://bugs.gnu.org/16825>.
author | Paul Eggert <eggert@penguin.cs.ucla.edu> |
---|---|
date | Tue, 25 Feb 2014 11:16:27 -0800 |
parents | 9ea347c6fce2 |
children |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 Retrieving the file descriptor of an open directory stream. (Unportable.) |
4110 | 3 |
4 Files: | |
5 lib/dirfd.c | |
6 m4/dirfd.m4 | |
7 | |
8 Depends-on: | |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
9556
diff
changeset
|
9 dirent |
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
9556
diff
changeset
|
10 extensions |
14932
9ea347c6fce2
dirfd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
11 errno [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no] |
4110 | 12 |
13 configure.ac: | |
5031
e0651d8d12c2
Reflect renaming: s/UTILS_FUNC_DIRFD/gl_FUNC_DIRFD/.
Jim Meyering <jim@meyering.net>
parents:
4197
diff
changeset
|
14 gl_FUNC_DIRFD |
14932
9ea347c6fce2
dirfd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
15 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then |
9ea347c6fce2
dirfd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
16 AC_LIBOBJ([dirfd]) |
9ea347c6fce2
dirfd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
17 gl_PREREQ_DIRFD |
9ea347c6fce2
dirfd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
18 fi |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
9556
diff
changeset
|
19 gl_DIRENT_MODULE_INDICATOR([dirfd]) |
4110 | 20 |
21 Makefile.am: | |
22 | |
23 Include: | |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
9556
diff
changeset
|
24 <dirent.h> |
4110 | 25 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5031
diff
changeset
|
26 License: |
9556 | 27 LGPLv2+ |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5031
diff
changeset
|
28 |
4197 | 29 Maintainer: |
30 Jim Meyering |