Cygwin 1.7 needs compat/regex
authorMark Levedahl <mlevedahl@gmail.com>
Fri, 19 Jul 2013 23:08:28 +0000 (19:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 05:03:09 +0000 (22:03 -0700)
Cygwin v1.7 uses the regex library from newlib which does not pass git's
tests, so don't use it. This fixes failures in t4018 and t4034.

Continue to use the platform supplied regex library for earlier versions.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname
index 7ac541e9ebbe77b339846d8efafdd0b6f33fee95..46069700731e81329fcc116c81770ddf736b85f5 100644 (file)
@@ -159,6 +159,8 @@ ifeq ($(uname_O),Cygwin)
                NO_SYMLINK_HEAD = YesPlease
                NO_IPV6 = YesPlease
                OLD_ICONV = UnfortunatelyYes
+       else
+               NO_REGEX = UnfortunatelyYes
        endif
        NO_THREAD_SAFE_PREAD = YesPlease
        NEEDS_LIBICONV = YesPlease