Depend on module fcntl-h when AT_FDCWD is used.
[gnulib.git] / modules / getcwd
1 Description:
2 Return the current working directory.
3
4 Files:
5 lib/getcwd.c
6 m4/getcwd-abort-bug.m4
7 m4/getcwd-path-max.m4
8 m4/getcwd.m4
9 m4/pathmax.m4
10
11 Depends-on:
12 unistd
13 extensions
14 pathmax         [test $REPLACE_GETCWD = 1]
15 mempcpy         [test $REPLACE_GETCWD = 1]
16 d-ino           [test $REPLACE_GETCWD = 1]
17 memmove         [test $REPLACE_GETCWD = 1]
18 openat          [test $REPLACE_GETCWD = 1]
19 fcntl-h         [test $REPLACE_GETCWD = 1]
20 fdopendir       [test $REPLACE_GETCWD = 1]
21 fstat           [test $REPLACE_GETCWD = 1]
22 fstatat         [test $REPLACE_GETCWD = 1]
23 opendir         [test $REPLACE_GETCWD = 1]
24 closedir        [test $REPLACE_GETCWD = 1]
25 stdbool         [test $REPLACE_GETCWD = 1]
26 malloc-posix    [test $REPLACE_GETCWD = 1]
27 strdup-posix    [test $REPLACE_GETCWD = 1]
28
29 configure.ac:
30 gl_FUNC_GETCWD
31 if test $REPLACE_GETCWD = 1; then
32   AC_LIBOBJ([getcwd])
33   gl_PREREQ_GETCWD
34 fi
35 gl_MODULE_INDICATOR([getcwd])
36 gl_UNISTD_MODULE_INDICATOR([getcwd])
37
38 Makefile.am:
39
40 Include:
41 <unistd.h>
42
43 License:
44 GPL
45
46 Maintainer:
47 all, glibc