libposix: Add _HEADERS primaries to posix modules.
[pspp] / 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 arg-nonnull
13 extensions
14 alloca
15 stdbool
16 wchar
17 wctype
18 memchr
19 memcmp
20 mbsrtowcs
21 mbsinit
22
23 configure.ac:
24 gl_FUNC_FNMATCH_POSIX
25
26 Makefile.am:
27 nodist_pkginclude_HEADERS += $(FNMATCH_H)
28 EXTRA_HEADERS += fnmatch.h
29
30 BUILT_SOURCES += $(FNMATCH_H)
31
32 # We need the following in order to create <fnmatch.h> when the system
33 # doesn't have one that supports the required API.
34 fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
35         $(AM_V_GEN)rm -f $@-t $@ && \
36         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
37           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
38               < $(srcdir)/fnmatch.in.h; \
39         } > $@-t && \
40         mv -f $@-t $@
41 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
42
43 Include:
44 <fnmatch.h>
45
46 License:
47 LGPLv2+
48
49 Maintainer:
50 all, glibc