X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffnmatch;h=5473ebf8c5deda95f44cc172761f7f8484d1624a;hb=8c37efbf003ebb2fa99287b31be8914052b58e5f;hp=633b1b14e6d5a68cc01090bcc0ffac5db3a71364;hpb=740e9a30efda7c5323b31860c249b2d9f778209c;p=gnulib.git diff --git a/modules/fnmatch b/modules/fnmatch index 633b1b14e..5473ebf8c 100644 --- a/modules/fnmatch +++ b/modules/fnmatch @@ -1,4 +1,5 @@ Description: +GNU fnmatch() implementation. Files: lib/fnmatch_.h @@ -14,9 +15,19 @@ configure.ac: # No macro. You should also use one of fnmatch-posix or fnmatch-gnu. Makefile.am: -lib_SOURCES += fnmatch_.h -EXTRA_DIST += fnmatch_loop.c -DISTCLEANFILES += fnmatch.h +BUILT_SOURCES += $(FNMATCH_H) +EXTRA_DIST += fnmatch_.h fnmatch_loop.c + +# We need the following in order to create an when the system +# doesn't have one that supports the required API. +all-local $(lib_OBJECTS): $(FNMATCH_H) +fnmatch.h: fnmatch_.h + cp $(srcdir)/fnmatch_.h $@-t + mv $@-t $@ +MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t Include: + +Maintainer: +all, glibc