Makefile: use compat regex on Solaris
authorJeff King <peff@peff.net>
Tue, 16 Jun 2009 19:08:21 +0000 (15:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jun 2009 16:57:44 +0000 (09:57 -0700)
The system regex is either slow or buggy for complex
patterns, like the built-in xfuncname pattern for java
files.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 0cb21da6ddbad66a5112391791ea63610e70d244..3bd0c08f4b35d61deb26b0ee977602beabd8fe26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -725,6 +725,7 @@ ifeq ($(uname_S),SunOS)
        NO_MEMMEM = YesPlease
        NO_MKDTEMP = YesPlease
        NO_MKSTEMPS = YesPlease
+       NO_REGEX = YesPlease
        ifeq ($(uname_R),5.7)
                NEEDS_RESOLV = YesPlease
                NO_IPV6 = YesPlease