summary refs log tree commit diff
path: root/config.mak.in
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2010-10-03 09:56:39 +0000
committerJunio C Hamano <gitster@pobox.com>2010-10-06 11:19:50 -0700
commitf3f3d9366edc4c150c59df929198a77ecdf69cfd (patch)
treefd70df5ca876d08b16e0c74fc3816278bf6b3a72 /config.mak.in
parent3235b7053c45a734c1cdf9b117bda68b7ced29c9 (diff)
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>
Diffstat (limited to 'config.mak.in')
-rw-r--r--config.mak.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.in b/config.mak.in
index b4e65c32b2..49f3df5f20 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -46,6 +46,7 @@ NO_IPV6=@NO_IPV6@
 NO_C99_FORMAT=@NO_C99_FORMAT@
 NO_HSTRERROR=@NO_HSTRERROR@
 NO_STRCASESTR=@NO_STRCASESTR@
+NO_FNMATCH=@NO_FNMATCH@
 NO_MEMMEM=@NO_MEMMEM@
 NO_STRLCPY=@NO_STRLCPY@
 NO_UINTMAX_T=@NO_UINTMAX_T@