Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)
-EXTRA_DIST += fnmatch_.h fnmatch_loop.c
+EXTRA_DIST += fnmatch_.h fnmatch.c 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.