Code

Makefile & configure: add a NO_FNMATCH flag
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 3 Oct 2010 09:56:39 +0000 (09:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2010 18:19:50 +0000 (11:19 -0700)
commitf3f3d9366edc4c150c59df929198a77ecdf69cfd
treefd70df5ca876d08b16e0c74fc3816278bf6b3a72
parent3235b7053c45a734c1cdf9b117bda68b7ced29c9
Makefile & configure: add a NO_FNMATCH flag

Windows and MinGW both lack fnmatch() in their C library and needed
compat/fnmatch, but they had duplicate code for adding the compat
function, and there was no Makefile flag or configure check for
fnmatch.

Change the Makefile it so that it's now possible to compile the compat
function with a NO_FNMATCH=YesPlease flag, and add a configure probe
for it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.in
configure.ac