Makefile: refactor regex compat support
commit02232adfd8bdc692bbe408ead7332ebfe416e83d
authorJeff King <peff@peff.net>
Tue, 16 Jun 2009 19:07:40 +0000 (16 15:07 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jun 2009 16:57:38 +0000 (18 09:57 -0700)
tree9bf70e26984377fddac32d1a243fb5cb87935183
parent4f4fa9c228a1ac2854c0814b5b23df43b8d98203
Makefile: refactor regex compat support

There was no tweakable knob to use the regex compat code; it
was embedded in the mingw build. Since other platforms may
want to use it, let's factor it out in the usual way for
build configuration knobs.

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