Stop using compat/regex.c on platforms with working regexp library
commit310e0216c80484d429dbdec547ab52a93236eb60
authorJunio C Hamano <gitster@pobox.com>
Fri, 24 Oct 2008 02:44:27 +0000 (23 19:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Nov 2008 08:54:29 +0000 (2 01:54 -0700)
treed4c6a00b592f2aaaabb1000155d05e3075fcf25f
parenta80732897931c737c01d04289dd1512bd12a4b04
Stop using compat/regex.c on platforms with working regexp library

We used to have non-POSIX comformant BRE in our code, and linked with GNU
regexp library on a few platforms (Darwin, FreeBSD and AIX) to work it
around.  This was backwards.

We've fixed the broken regexps to use ERE that native regexp libraries on
these platforms can handle just fine.  There is no need to link with GNU
regexp library on these platforms anymore.

Tested-on-AIX-by: Mike Ralphson <mike@abacus.co.uk>
Tested-on-FreeBSD-by: Jeff King <peff@peff.net>
Tested-on-Darwin-by: Arjen Laarhoven <arjen@yaph.org>
Tested-on-Darwin-by: Pieter de Bie <pieter@frim.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile