Imported Upstream version 1.14.1
[platform/upstream/augeas.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 closedir        [test -n "$GLOB_H"]
19 d-type          [test -n "$GLOB_H"]
20 dirfd           [test -n "$GLOB_H"]
21 flexmember      [test -n "$GLOB_H"]
22 fnmatch         [test -n "$GLOB_H"]
23 getlogin_r      [test -n "$GLOB_H"]
24 memchr          [test -n "$GLOB_H"]
25 mempcpy         [test -n "$GLOB_H"]
26 opendir         [test -n "$GLOB_H"]
27 readdir         [test -n "$GLOB_H"]
28 stdbool         [test -n "$GLOB_H"]
29 stdint          [test -n "$GLOB_H"]
30 strdup          [test -n "$GLOB_H"]
31 sys_stat        [test -n "$GLOB_H"]
32 unistd          [test -n "$GLOB_H"]
33 malloc-posix    [test -n "$GLOB_H"]
34
35 configure.ac:
36 gl_GLOB
37 if test -n "$GLOB_H"; then
38   AC_LIBOBJ([glob])
39   gl_PREREQ_GLOB
40 fi
41
42 Makefile.am:
43 BUILT_SOURCES += $(GLOB_H)
44
45 # We need the following in order to create <glob.h> when the system
46 # doesn't have one that works with the given compiler.
47 if GL_GENERATE_GLOB_H
48 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
49         $(AM_V_GEN)rm -f $@-t $@ && \
50         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
51           sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
52               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
53               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
54               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
55               < $(srcdir)/glob.in.h; \
56         } > $@-t && \
57         mv -f $@-t $@
58 else
59 glob.h: $(top_builddir)/config.status
60         rm -f $@
61 endif
62 MOSTLYCLEANFILES += glob.h glob.h-t
63
64 Include:
65 <glob.h>
66
67 License:
68 LGPLv2+
69
70 Maintainer:
71 all, glibc