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 b8ca504..e67d0e7 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