annotate modules/fchdir @ 7865:ed58a606d898

Add missing dependency.
author Bruno Haible <bruno@clisp.org>
date Sun, 14 Jan 2007 20:29:04 +0000
parents cb2590895141
children 8791d13c86ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7863
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 fchdir() function: change current directory, given an open file descriptor.
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/fchdir.c
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/dirent_.h
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/fchdir.m4
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
7865
ed58a606d898 Add missing dependency.
Bruno Haible <bruno@clisp.org>
parents: 7863
diff changeset
10 absolute-header
7863
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 fcntl
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 unistd
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 canonicalize-lgpl
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 dirfd
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 strdup
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 configure.ac:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 gl_FUNC_FCHDIR
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 Makefile.am:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 BUILT_SOURCES += $(DIRENT_H) $(UNISTD_H2)
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 # We need the following in order to create <dirent.h> when the system
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 # doesn't have one that works with the given compiler.
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 dirent.h: dirent_.h
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 rm -f $@-t $@
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 sed -e 's|@''ABSOLUTE_DIRENT_H''@|$(ABSOLUTE_DIRENT_H)|g' \
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 < $(srcdir)/dirent_.h; \
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 } > $@-t
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 mv $@-t $@
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 MOSTLYCLEANFILES += dirent.h dirent.h-t
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 Include:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 #include <unistd.h>
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 License:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 LGPL
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 Maintainer:
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 Bruno Haible
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42