verify: new macro 'assume'
[gnulib.git] / modules / fnmatch
1 Description:
2 fnmatch() function: wildcard matching.
3
4 Files:
5 lib/fnmatch.in.h
6 lib/fnmatch.c
7 lib/fnmatch_loop.c
8 m4/mbstate_t.m4
9 m4/fnmatch.m4
10
11 Depends-on:
12 extensions
13 snippet/arg-nonnull
14 alloca          [test -n "$FNMATCH_H"]
15 stdbool         [test -n "$FNMATCH_H"]
16 wchar           [test -n "$FNMATCH_H"]
17 wctype-h        [test -n "$FNMATCH_H"]
18 memchr          [test -n "$FNMATCH_H"]
19 memcmp          [test -n "$FNMATCH_H"]
20 mbsrtowcs       [test -n "$FNMATCH_H"]
21 mbsinit         [test -n "$FNMATCH_H"]
22
23 configure.ac:
24 gl_FUNC_FNMATCH_POSIX
25 if test -n "$FNMATCH_H"; then
26   AC_LIBOBJ([fnmatch])
27   gl_PREREQ_FNMATCH
28 fi
29
30 Makefile.am:
31 BUILT_SOURCES += $(FNMATCH_H)
32
33 # We need the following in order to create <fnmatch.h> when the system
34 # doesn't have one that supports the required API.
35 if GL_GENERATE_FNMATCH_H
36 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
37         $(AM_V_GEN)rm -f $@-t $@ && \
38         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
39           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
40               < $(srcdir)/fnmatch.in.h; \
41         } > $@-t && \
42         mv -f $@-t $@
43 else
44 fnmatch.h: $(top_builddir)/config.status
45         rm -f $@
46 endif
47 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
48
49 Include:
50 <fnmatch.h>
51
52 License:
53 LGPLv2+
54
55 Maintainer:
56 all, glibc