af_alg: minor style improvements
[gnulib.git] / modules / glob
blob94b3fd05ff519a3f1868d816607946f9620e2a4e
1 Description:
2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
5 Files:
6 lib/glob.in.h
7 lib/glob-libc.h
8 lib/glob.c
9 lib/glob_internal.h
10 lib/glob_pattern_p.c
11 lib/globfree.c
12 m4/glob.m4
14 Depends-on:
15 c99
16 extensions
17 largefile
18 snippet/c++defs
19 alloca          [test $REPLACE_GLOB = 1]
20 builtin-expect  [test $REPLACE_GLOB = 1]
21 closedir        [test $REPLACE_GLOB = 1]
22 d-type          [test $REPLACE_GLOB = 1]
23 flexmember      [test $REPLACE_GLOB = 1]
24 fnmatch         [test $REPLACE_GLOB = 1]
25 getlogin_r      [test $REPLACE_GLOB = 1]
26 libc-config     [test $REPLACE_GLOB = 1]
27 lstat           [test $REPLACE_GLOB = 1]
28 memchr          [test $REPLACE_GLOB = 1]
29 mempcpy         [test $REPLACE_GLOB = 1]
30 opendir         [test $REPLACE_GLOB = 1]
31 readdir         [test $REPLACE_GLOB = 1]
32 scratch_buffer  [test $REPLACE_GLOB = 1]
33 stdbool         [test $REPLACE_GLOB = 1]
34 stdint          [test $REPLACE_GLOB = 1]
35 strdup          [test $REPLACE_GLOB = 1]
36 sys_stat        [test $REPLACE_GLOB = 1]
37 unistd          [test $REPLACE_GLOB = 1]
38 malloc-posix    [test $REPLACE_GLOB = 1]
40 configure.ac:
41 gl_GLOB
42 if test $REPLACE_GLOB = 1; then
43   AC_LIBOBJ([glob])
44   AC_LIBOBJ([glob_pattern_p])
45   AC_LIBOBJ([globfree])
46   gl_PREREQ_GLOB
49 Makefile.am:
50 BUILT_SOURCES += glob.h
52 # We need the following in order to create <glob.h>.
53 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H)
54         $(AM_V_GEN)rm -f $@-t $@ && \
55         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
57               -e 's|@''REPLACE_GLOB''@|$(REPLACE_GLOB)|g' \
58               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
59               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
60               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61               -e 's|@''NEXT_GLOB_H''@|$(NEXT_GLOB_H)|g' \
62               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
63               < $(srcdir)/glob.in.h; \
64         } > $@-t && \
65         mv -f $@-t $@
66 MOSTLYCLEANFILES += glob.h glob.h-t
68 Include:
69 <glob.h>
71 License:
72 LGPLv2+
74 Maintainer:
75 all, glibc