Fix global typo in last change: use chmod u-w, not chmod u-x.
[gnulib.git] / modules / fnmatch
1 Description:
2 GNU fnmatch() implementation.
3
4 Files:
5 lib/fnmatch_.h
6 lib/fnmatch.c
7 lib/fnmatch_loop.c
8 m4/mbstate_t.m4
9 m4/fnmatch.m4
10
11 Depends-on:
12 alloca
13 stdbool
14
15 configure.ac:
16 # No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
17
18 Makefile.am:
19 BUILT_SOURCES += $(FNMATCH_H)
20 EXTRA_DIST += fnmatch_.h fnmatch_loop.c
21
22 # We need the following in order to create <fnmatch.h> when the system
23 # doesn't have one that supports the required API.
24 fnmatch.h: fnmatch_.h
25         rm -f $@-t $@
26         cp $(srcdir)/fnmatch_.h $@-t
27         chmod a-w $@-t
28         mv $@-t $@
29 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
30
31 Include:
32 <fnmatch.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 all, glibc