openat: Respect rules for use of AC_LIBOBJ.
[gnulib.git] / modules / openat
1 Description:
2 Open a file at a directory.
3
4 Files:
5 lib/at-func.c
6 lib/fchmodat.c
7 lib/fchownat.c
8 lib/fstatat.c
9 lib/mkdirat.c
10 lib/openat.c
11 lib/openat.h
12 lib/openat-priv.h
13 lib/openat-proc.c
14 lib/unlinkat.c
15 m4/openat.m4
16 m4/mode_t.m4
17
18 Depends-on:
19 dosname
20 errno
21 extensions
22 fchdir
23 fcntl-h
24 fdopendir
25 gettext-h
26 intprops
27 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
28 lstat
29 mkdir           [test $HAVE_MKDIRAT = 0]
30 open
31 openat-die
32 rmdir           [test $REPLACE_UNLINKAT = 1]
33 save-cwd
34 stdbool
35 sys_stat
36 unistd
37 unlink          [test $REPLACE_UNLINKAT = 1]
38
39 configure.ac:
40 gl_FUNC_OPENAT
41 AC_LIBOBJ([openat-proc])
42 if test $HAVE_FCHMODAT = 0; then
43   AC_LIBOBJ([fchmodat])
44 fi
45 if test $ac_cv_func_fstatat = no || test $REPLACE_FSTATAT = 1; then
46   AC_LIBOBJ([fstatat])
47 fi
48 if test $HAVE_MKDIRAT = 0; then
49   AC_LIBOBJ([mkdirat])
50 fi
51 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
52   AC_LIBOBJ([openat])
53 fi
54 if test $ac_cv_func_unlinkat = no || test $REPLACE_UNLINKAT = 1; then
55   AC_LIBOBJ([unlinkat])
56 fi
57 if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
58   AC_LIBOBJ([fchownat])
59 fi
60
61 Makefile.am:
62
63 Include:
64 <fcntl.h>
65 <sys/stat.h>
66 <unistd.h>
67 "openat.h"
68
69 License:
70 GPL
71
72 Maintainer:
73 Jim Meyering, Eric Blake