Code

add function check_ok_to_remove()
[git.git] / configure.ac
index ed0561b5d4738c7955ac3603084c8a676c1c56dd..56731c35c9d1b5e2d2c82cdff51ab496dcbac7f5 100644 (file)
@@ -804,6 +804,12 @@ GIT_CHECK_FUNC(strcasestr,
 [NO_STRCASESTR=YesPlease])
 AC_SUBST(NO_STRCASESTR)
 #
+# Define NO_STRTOK_R if you don't have strtok_r
+GIT_CHECK_FUNC(strtok_r,
+[NO_STRTOK_R=],
+[NO_STRTOK_R=YesPlease])
+AC_SUBST(NO_STRTOK_R)
+#
 # Define NO_MEMMEM if you don't have memmem.
 GIT_CHECK_FUNC(memmem,
 [NO_MEMMEM=],