Use Gnulib's `regex' module.
authorLudovic Courtès <ludo@gnu.org>
Fri, 3 Feb 2012 09:51:46 +0000 (10:51 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 3 Feb 2012 09:51:46 +0000 (10:51 +0100)
commiteb4a14ed47a34e03566261b02c77bfcc02b20134
tree23d7e5a0df3aa502b1b5802a0e6c75cfbef87519
parent1ba05158ebe033d7d0bdfcfef686eae2c9ea0103
Use Gnulib's `regex' module.

This should help with regex portability, as reported in
<http://bugs.gnu.org/10684> for Darwin 8.11.

* m4/gnulib-cache.m4 (gl_MODULES): Add `regex'.

* configure.ac: Remove header checks for regex.h, rxposix.h, and
  rx/rxposix.h.  Remove check for the `regcomp' function.  Remove
  definition of `HAVE_REGCOMP'.  Define `ENABLE_REGEX'.

* libguile/init.c: Check for `ENABLE_REGEX' instead of `HAVE_REGCOMP'.

* libguile/regex-posix.c: Always include <regex.h>.  Remove #ifdefs for
  rxposix.h and co.
40 files changed:
configure.ac
lib/Makefile.am
lib/btowc.c [new file with mode: 0644]
lib/langinfo.in.h [new file with mode: 0644]
lib/mbrtowc.c [new file with mode: 0644]
lib/mbsinit.c [new file with mode: 0644]
lib/mbtowc-impl.h [new file with mode: 0644]
lib/mbtowc.c [new file with mode: 0644]
lib/nl_langinfo.c [new file with mode: 0644]
lib/regcomp.c [new file with mode: 0644]
lib/regex.c [new file with mode: 0644]
lib/regex.h [new file with mode: 0644]
lib/regex_internal.c [new file with mode: 0644]
lib/regex_internal.h [new file with mode: 0644]
lib/regexec.c [new file with mode: 0644]
lib/strcasecmp.c [new file with mode: 0644]
lib/streq.h [new file with mode: 0644]
lib/strings.in.h [new file with mode: 0644]
lib/strncasecmp.c [new file with mode: 0644]
lib/wcrtomb.c [new file with mode: 0644]
lib/wctype.in.h [new file with mode: 0644]
libguile/init.c
libguile/regex-posix.c
m4/btowc.m4 [new file with mode: 0644]
m4/gnulib-cache.m4
m4/gnulib-comp.m4
m4/langinfo_h.m4 [new file with mode: 0644]
m4/locale-fr.m4 [new file with mode: 0644]
m4/locale-ja.m4 [new file with mode: 0644]
m4/locale-zh.m4 [new file with mode: 0644]
m4/mbrtowc.m4 [new file with mode: 0644]
m4/mbsinit.m4 [new file with mode: 0644]
m4/mbstate_t.m4 [new file with mode: 0644]
m4/mbtowc.m4 [new file with mode: 0644]
m4/nl_langinfo.m4 [new file with mode: 0644]
m4/regex.m4 [new file with mode: 0644]
m4/strcase.m4 [new file with mode: 0644]
m4/strings_h.m4 [new file with mode: 0644]
m4/wcrtomb.m4 [new file with mode: 0644]
m4/wctype_h.m4 [new file with mode: 0644]