[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] regex.c patch for CLISP
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] regex.c patch for CLISP |
Date: |
Tue, 8 Mar 2005 18:27:12 +0100 |
User-agent: |
KMail/1.5 |
Sam Steingold wrote:
> GNU CLISP now uses the gnulib regex implementation.
> the following patch would be nice to have (so that we do not have to
> re-patch regex.c after each sync with gnulib).
>
> --- regex.c 07 Mar 2005 15:57:25 -0500 1.2
> +++ regex.c 07 Mar 2005 18:34:42 -0500
> @@ -28,6 +28,9 @@
> #undef _GNU_SOURCE
> #define _GNU_SOURCE
>
> +#ifdef clisp
> +# include "clisp.h"
> +#endif
> #ifdef HAVE_CONFIG_H
> # include <config.h>
> #endif
I think the same effect could be achieved if you add an
AH_VERBATIM([clisp], [#include "clisp.h"])
into clisp/modules/regexp/configure.in. Then you don't need to patch regex.c.
Bruno