Hello,
On Thu, Aug 25, 2005 at 11:06:00AM +0200, Stepan Kasal wrote:
> Indeed, when I cp ../gnulib/m4/regex.m4 src/m4/
> and apply the patch attached below, then
>
> make -f Makefile.devel check-configures
I forgot to attach the patch, sorry.
Please find it attached to this mail.
Stepan Kasal
Index: Makefile.devel
===================================================================
RCS file: /cvsroot/clisp/clisp/Makefile.devel,v
retrieving revision 1.136
diff -u -r1.136 Makefile.devel
--- Makefile.devel 4 Aug 2005 22:21:30 -0000 1.136
+++ Makefile.devel 25 Aug 2005 10:12:30 -0000
@@ -137,10 +137,13 @@
src/autoconf/aclocal.m4 : $(wildcard src/m4/*.m4) \
$(addsuffix .in,$(CLISP_CONFIGURES))
egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac
- cat $(addsuffix .in,$(CLISP_CONFIGURES)) | egrep -v
'(AC_INIT|AC_CONFIG_HEADER|AC_OUTPUT|AC_CONFIG_FILE.*(Makefile|link\.sh)|_CANONICAL_|AC_PREREQ)'
>> configure.ac
+ echo AC_GNU_SOURCE >> configure.ac
+ cat $(addsuffix .in,$(CLISP_CONFIGURES)) | \
+ egrep -v -e
'AC_(INIT|PREREQ|CANONICAL_|GNU_SOURCE|CONFIG_HEADER|OUTPUT)' \
+ -e 'AC_CONFIG_FILE.*(Makefile|link\.sh)' >> configure.ac
echo AC_OUTPUT >> configure.ac
aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4
- $(RM) configure.ac
+ #$(RM) configure.ac
AUTOCONF_FILES = src/autoconf/aclocal.m4
AUTOCONF = autoconf
Index: modules/regexp/configure.in
===================================================================
RCS file: /cvsroot/clisp/clisp/modules/regexp/configure.in,v
retrieving revision 1.15
diff -u -r1.15 configure.in
--- modules/regexp/configure.in 4 Aug 2005 22:10:53 -0000 1.15
+++ modules/regexp/configure.in 25 Aug 2005 10:12:30 -0000
@@ -4,6 +4,7 @@
AC_PREREQ(2.57)
AC_INIT(regexp, 1.0, clisp-list)
+AC_GNU_SOURCE
AC_CONFIG_SRCDIR(regexp.lisp)
AC_CONFIG_AUX_DIR(../../src/build-aux)
AC_CONFIG_HEADERS(config.h)
@@ -16,7 +17,7 @@
AM_GNU_GETTEXT([external])
gl_C_RESTRICT
gl_FUNC_ALLOCA
-gl_INCLUDED_REGEX([regex.c])
+gl_REGEX
# can we use the system-wide regex implementation?
if test "$ac_use_included_regex" = no -a "$cl_cv_regexp" = yes; then