Use compatibility regex library also on AIX
authorJohannes Sixt <redacted>
Thu, 11 Sep 2008 08:14:44 +0000 (10:14 +0200)
committerJunio C Hamano <redacted>
Thu, 11 Sep 2008 08:23:16 +0000 (01:23 -0700)
This augments 3632cfc24 (Use compatibility regex library on Darwin,
2008-09-07), which already carries a "Tested-by" statement for AIX,
but that test was actually done with this patch included.

Signed-off-by: Johannes Sixt <redacted>
Tested-by: Mike Ralphson <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile

index a8b3f9e3c51061d40d5377762b87198d40055c50..3a9de881231e6c420e19cfe39ba523439df3c9ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -702,6 +702,8 @@ ifeq ($(uname_S),AIX)
        INTERNAL_QSORT = UnfortunatelyYes
        NEEDS_LIBICONV=YesPlease
        BASIC_CFLAGS += -D_LARGE_FILES
+       COMPAT_CFLAGS += -Icompat/regex
+       COMPAT_OBJS += compat/regex/regex.o
 endif
 ifeq ($(uname_S),GNU)
        # GNU/Hurd
git clone https://git.99rst.org/PROJECT