view modules/fnmatch @ 7268:e476bb105193

Fix global typo in last change: use chmod u-w, not chmod u-x. Spotted by Paul Eggert and Bruce Korb. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
author Jim Meyering <jim@meyering.net>
date Thu, 07 Sep 2006 05:53:52 +0000
parents 8dffb67501b7
children 9ff9e0f3d681
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

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

Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)
EXTRA_DIST += fnmatch_.h fnmatch_loop.c

# 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
	rm -f $@-t $@
	cp $(srcdir)/fnmatch_.h $@-t
	chmod a-w $@-t
	mv $@-t $@
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t

Include:
<fnmatch.h>

License:
LGPL

Maintainer:
all, glibc