2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
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 fnmatch [test -n "$GLOB_H"]
22 getlogin_r [test -n "$GLOB_H"]
23 memchr [test -n "$GLOB_H"]
24 mempcpy [test -n "$GLOB_H"]
25 opendir [test -n "$GLOB_H"]
26 readdir [test -n "$GLOB_H"]
27 stdbool [test -n "$GLOB_H"]
28 strdup [test -n "$GLOB_H"]
29 sys_stat [test -n "$GLOB_H"]
30 unistd [test -n "$GLOB_H"]
31 malloc-posix [test -n "$GLOB_H"]
35 if test -n "$GLOB_H"; then
41 BUILT_SOURCES += $(GLOB_H)
43 # We need the following in order to create <glob.h> when the system
44 # doesn't have one that works with the given compiler.
46 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
47 $(AM_V_GEN)rm -f $@-t $@ && \
48 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
49 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
50 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
51 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
52 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
53 < $(srcdir)/glob.in.h; \
57 glob.h: $(top_builddir)/config.status
60 MOSTLYCLEANFILES += glob.h glob.h-t