view modules/fnmatch @ 7733:9d60f39f35c1

* MODULES.html.sh: New module wctype. * lib/wctype_.h, m4/wctype.m4, modules/wctype: New files. * lib/fnmatch.c: Don't bother to include <wchar.h> before <wctype.h>, since the new wctype module should fix this. * lib/quotearg.c: Include <wctype.h> unconditionally, since the wctype module should arrange for it. * lib/regex_internal.h: Likewise. * m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint, since the wctype module should handle this now. * m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h. * modules/fnmatch (Depends-on): Add wctype. * modules/quotearg (Depends-on): Likewise. * modules/regex (Depends-on): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 22 Dec 2006 00:21:54 +0000
parents 6a764f23e302
children b6376840b47b
line wrap: on
line source

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
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