summaryrefslogtreecommitdiff
path: root/modules/regex
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-07-07 08:08:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-07-07 08:08:39 +0000
commit151e40bb397d2664f467f529ac829ec4fd5a8353 (patch)
tree61cf38382d2f32ec25ace4ae3a52701f85ab3852 /modules/regex
parent8220a7e4a60b8eeeefe081b03236b0b96de38168 (diff)
downloadgnulib-151e40bb397d2664f467f529ac829ec4fd5a8353.tar.gz
* modules/regex (Files): Add lib/regex_internal.c,
lib/regex_internal.h, lib/regexec.c, lib/regcomp.c, m4/codeset.m4. (Depends-on): Add extensions. (Makefile.am): Remove lib_SOURCES; now done by m4 code. * config/srclist.txt: Add regcomp.c, regex.c, regex.h, regex_internal.c, regexec.c. Add regex_internal.h too, but as a comment, since the libc version is currently broken in gnulib mode. * lib/regex.c, lib/regex.h: Sync from libc. * lib/regcomp.c, lib/regexec_internal.c, lib/regex_internal.h, lib/regexec.c: New files, synced from libc, except that regex_internal.h currently has a small porting fix. * m4/regex.m4: Adjust to new libc regex implementation. (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for all the .c and .h parts of (the new) regex. Quote the m4 stuff better. Check for RE_ICASE bug of old gnulib. Check for REG_STARTEND of recent libc. Rename local variables from jm_* to gl_*. Quote operand of "test -f". Say "recent enough" version of libc, not "version 2". (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a prerequisite module. Remove AC_HEADER_STDC; no longer needed. Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll. Remove check for btowc, isascii. Require AM_LANGINFO_CODESET.
Diffstat (limited to 'modules/regex')
-rw-r--r--modules/regex7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/regex b/modules/regex
index b1fadd46ca..369b8eb311 100644
--- a/modules/regex
+++ b/modules/regex
@@ -4,10 +4,16 @@ Regular expression matching.
Files:
lib/regex.h
lib/regex.c
+lib/regex_internal.c
+lib/regex_internal.h
+lib/regexec.c
+lib/regcomp.c
+m4/codeset.m4
m4/regex.m4
Depends-on:
alloca
+extensions
gettext-h
restrict
@@ -15,7 +21,6 @@ configure.ac:
gl_REGEX
Makefile.am:
-lib_SOURCES += regex.h
Include:
"regex.h"