# 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