Code

OpenBSD needs the strcasestr replacement.
authorJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 18:51:11 +0000 (11:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 18:51:11 +0000 (11:51 -0700)
Noticed by Randal L. Schwartz.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index b8ca504f095a68ef929af92127b1197c53120a6b..e67d0e78228d186a4358ede07bb686bbac53678b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,7 @@ ifneq (,$(findstring arm,$(shell uname -m)))
        ARM_SHA1 = YesPlease
 endif
 ifeq ($(shell uname -s),OpenBSD)
+       NO_STRCASESTR = YesPlease
        NEEDS_LIBICONV = YesPlease
        PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib
 endif