From: Ævar Arnfjörð Bjarmason Date: Sun, 15 Aug 2010 11:08:01 GMT Subject: Re: [RFC/PATCH] Update compat/regex Message-ID: In-Reply-To: On Fri, Jul 16, 2010 at 14:17, Andreas Schwab wrote: > Ævar Arnfjörð Bjarmason writes: > >> This patch has all the glibc-specific stuff that makes it break hard >> if you don't have the GNU C library. Writing macros/definitions to fix all that >> stuff up was the "easier said than done" part I was referring to. > > You might want to try out the gnulib version instead. I fiddled a bit with gnulib for both the regex engine and libintl, but I can't get it to do what I want. The assumption with gnulib seems to be that you're including the libraries in a GNU program that only uses the autotools, it seems to be about as easy to just copy/paste things from glibc if you're adding libraries to a program like Git that uses its own build system.