posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / fnmatch-h
blob31832d40ed13069c8100ebef6fc61573eb6b1197
1 Description:
2 A <fnmatch.h> that conforms to POSIX.
4 Files:
5 lib/fnmatch.in.h
6 m4/fnmatch_h.m4
8 Depends-on:
9 extensions
10 include_next
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
15 configure.ac:
16 gl_FNMATCH_H
18 Makefile.am:
19 BUILT_SOURCES += $(FNMATCH_H)
21 # We need the following in order to create <fnmatch.h>.
22 if GL_GENERATE_FNMATCH_H
23 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_FNMATCH_H''@|$(NEXT_FNMATCH_H)|g' \
32               -e 's/@''GNULIB_FNMATCH''@/$(GNULIB_FNMATCH)/g' \
33               -e 's|@''HAVE_FNMATCH''@|$(HAVE_FNMATCH)|g' \
34               -e 's|@''REPLACE_FNMATCH''@|$(REPLACE_FNMATCH)|g' \
35               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
36               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
37               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
38               < $(srcdir)/fnmatch.in.h; \
39         } > $@-t && \
40         mv $@-t $@
41 else
42 fnmatch.h: $(top_builddir)/config.status
43         rm -f $@
44 endif
45 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
47 Include:
48 <fnmatch.h>
50 License:
51 LGPLv2+
53 Maintainer:
54 all, glibc