NEWS.stable: log cherry-pick [a0d9972]->[21d1619] freopen: Don't crash if the filenam...
[gnulib.git] / modules / glob
1 Description:
2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
4
5 Files:
6 lib/glob.in.h
7 lib/glob-libc.h
8 lib/glob.c
9 m4/glob.m4
10
11 Depends-on:
12 extensions
13 largefile
14 snippet/arg-nonnull
15 snippet/c++defs
16 snippet/warn-on-use
17 alloca          [test -n "$GLOB_H"]
18 d-type          [test -n "$GLOB_H"]
19 dirfd           [test -n "$GLOB_H"]
20 fnmatch         [test -n "$GLOB_H"]
21 getlogin_r      [test -n "$GLOB_H"]
22 memchr          [test -n "$GLOB_H"]
23 mempcpy         [test -n "$GLOB_H"]
24 stdbool         [test -n "$GLOB_H"]
25 strdup          [test -n "$GLOB_H"]
26 sys_stat        [test -n "$GLOB_H"]
27 unistd          [test -n "$GLOB_H"]
28 malloc-posix    [test -n "$GLOB_H"]
29
30 configure.ac:
31 gl_GLOB
32 if test -n "$GLOB_H"; then
33   AC_LIBOBJ([glob])
34   gl_PREREQ_GLOB
35 fi
36
37 Makefile.am:
38 BUILT_SOURCES += $(GLOB_H)
39
40 # We need the following in order to create <glob.h> when the system
41 # doesn't have one that works with the given compiler.
42 if GL_GENERATE_GLOB_H
43 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
44         $(AM_V_GEN)rm -f $@-t $@ && \
45         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
46           sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
47               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
48               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
50               < $(srcdir)/glob.in.h; \
51         } > $@-t && \
52         mv -f $@-t $@
53 else
54 glob.h: $(top_builddir)/config.status
55         rm -f $@
56 endif
57 MOSTLYCLEANFILES += glob.h glob.h-t
58
59 Include:
60 <glob.h>
61
62 License:
63 LGPLv2+
64
65 Maintainer:
66 all, glibc