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