author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sun, 3 Oct 2010 09:56:39 +0000 (09:56 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Oct 2010 18:19:50 +0000 (11:19 -0700) | ||
commit | f3f3d9366edc4c150c59df929198a77ecdf69cfd | |
tree | fd70df5ca876d08b16e0c74fc3816278bf6b3a72 | tree | snapshot |
parent | 3235b7053c45a734c1cdf9b117bda68b7ced29c9 | commit | 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>
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 | diff | blob | history | |
config.mak.in | diff | blob | history | |
configure.ac | diff | blob | history |