1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

4 commits

Author SHA1 Message Date
Jim Blandy
20044282fa * regex-posix.c (scm_init_regex_posix): Register the "regex"
feature, to help boot-9.scm decide whether to import the regex
module.
1997-05-29 02:47:40 +00:00
Jim Blandy
69e0587b1c * regex-posix.c: #include "_scm.h" before conditionally #including
<regex.h>; the former defines HAVE_REGCOMP.
1997-05-29 02:20:10 +00:00
Jim Blandy
24e37377fa * regex-posix.c: #include <regex.h> conditionally, so the file is
CPP'able (for dependency scanning) even on systems that don't have
a <regex.h> header.
1997-05-28 17:02:23 +00:00
Jim Blandy
f255378e9a Add support for POSIX regular expressions.
* regex-posix.c, regex-posix.h: New files. (Some code
is taken liberally from rx/rgx.c in the old Guile dist.)

* init.c: Include regex-posix.h.
(scm_boot_guile_1): Call scm_init_regex_posix.

* Makefile.am (EXTRA_libguile_la_SOURCES, modinclude_HEADERS):
Add regex-posix.[ch] sources.
* Makefile.in: Regenerated.

* scmconfig.h.in: Add HAVE_REGCOMP macro.  (automake is supposed
to do this automatically?  It didn't for me, bleh.)
1997-05-27 23:16:42 +00:00