]> git.ipfire.org Git - thirdparty/git.git/blobdiff - configure.ac
Makefile & configure: add a NO_FNMATCH flag
[thirdparty/git.git] / configure.ac
index 5601e8bac953c670e35f32ffe48d157dd5694ce7..3aa59bc615552956f907aca8d103e3c1fb79f5ee 100644 (file)
@@ -783,6 +783,12 @@ GIT_CHECK_FUNC(strcasestr,
 [NO_STRCASESTR=YesPlease])
 AC_SUBST(NO_STRCASESTR)
 #
+# Define NO_FNMATCH if you don't have fnmatch
+GIT_CHECK_FUNC(fnmatch,
+[NO_FNMATCH=],
+[NO_FNMATCH=YesPlease])
+AC_SUBST(NO_FNMATCH)
+#
 # Define NO_MEMMEM if you don't have memmem.
 GIT_CHECK_FUNC(memmem,
 [NO_MEMMEM=],