summaryrefslogtreecommitdiff
path: root/libc/option-groups.def
diff options
context:
space:
mode:
authormaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-12-09 15:32:39 +0000
committermaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-12-09 15:32:39 +0000
commit8acd6170c246b159d26f05d85fa256746391d3d7 (patch)
tree8621c2937ab3bb613ebfcf51e15600e9c9b7e1b2 /libc/option-groups.def
parent06d40a976e67ac645ae77787b158d215e2fcb19b (diff)
downloadeglibc2-8acd6170c246b159d26f05d85fa256746391d3d7.tar.gz
Support smaller regex implementation.
* option-groups.def (OPTION_POSIX_REGEXP_GLIBC): New option group. * option-groups.defaults (OPTION_POSIX_REGEXP_GLIBC): Set default. * posix/regexec.c: Move a piece of code to ... * posix/regexec-compat.c: New file. * posix/Makefile (tests): Same for runptests, bug-regex11, bug-regex13, bug-regex16, tst-regex2, tst-rxspencer, tst-pcre, tst-boost, tst-regex, bug-regex17, bug-regex18, bug-regex19, bug-regex20, bug-regex22, bug-regex14-mem, tst-rxspence-mem, tst-pcre-mem and tst-boost-mem. * posix/xregex.c: New file ported from libiberty. git-svn-id: svn://svn.eglibc.org/trunk@7504 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/option-groups.def')
-rw-r--r--libc/option-groups.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/option-groups.def b/libc/option-groups.def
index b58ea6e57..93ece51ef 100644
--- a/libc/option-groups.def
+++ b/libc/option-groups.def
@@ -696,6 +696,17 @@ config OPTION_POSIX_REGEXP
<regexp.h> header file, 'compile', 'step', and 'advance', is
omitted.
+config OPTION_POSIX_REGEXP_GLIBC
+ bool "Regular expressions from GLIBC"
+ depends OPTION_POSIX_REGEXP
+ help
+ This option group specifies which regular expression
+ library to use. The choice is between regex
+ implementation from GLIBC and regex implementation from
+ libiberty. The GLIBC variant is fully POSIX conformant and
+ optimized for speed; regex from libiberty is more than twice
+ as small while still is enough for most practical purposes.
+
config OPTION_POSIX_WIDE_CHAR_DEVICE_IO
bool "Input and output functions for wide characters"
depends OPTION_POSIX_C_LANG_WIDE_CHAR