summaryrefslogtreecommitdiff
path: root/modules/fnmatch
blob: aee55953018f9c022984d941bbf2b2525fae2b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description:
GNU fnmatch() implementation.

Files:
lib/fnmatch_.h
lib/fnmatch.c
lib/fnmatch_loop.c
m4/mbstate_t.m4
m4/fnmatch.m4

Depends-on:
alloca
stdbool
wchar
wctype

configure.ac:
# No macro. You should also use one of fnmatch-posix or fnmatch-gnu.

Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)

# We need the following in order to create <fnmatch.h> when the system
# doesn't have one that supports the required API.
fnmatch.h: fnmatch_.h
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/fnmatch_.h; \
	} > $@-t
	mv -f $@-t $@
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t

Include:
<fnmatch.h>

License:
LGPL

Maintainer:
all, glibc