diff options
author | jimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-06-14 00:14:51 +0000 |
---|---|---|
committer | jimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-06-14 00:14:51 +0000 |
commit | f8db47401ff3da56c79c2ac7c2b6769e7ecc77a1 (patch) | |
tree | 949f25393ca5806060732adb6d26f25c2c5f60e0 /libc/stdlib | |
parent | 5730f8a166ce66cff42c7cb277659d380c75ef3f (diff) |
Add the OPTION_POSIX_REGEXP option group.
* option-groups.def (OPTION_POSIX_REGEXP): New entry.
* option-groups.defaults (OPTION_POSIX_REGEXP): Initialize.
* posix/Makefile: Include ../option-groups.mak.
(routines): Move 'regex' into the group.
* stdlib/Makefile: Put rpmatch in both the OPTION_POSIX_REGEXP and
OPTION_EGLIBC_LOCALE_CODE groups.
* misc/Makefile: Put regexp in the group.
* locale/Makefile (CFLAGS-ld-messages.c): Define
OPTION_POSIX_REGEXP as appropriate.
* locale/programs/ld-messages.c: Don't check the syntax of 'yes'
and 'no' regular expressions if the group isn't enabled.
git-svn-id: svn://svn.eglibc.org/trunk@2508 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile index 3c0a42500..e93ffcbc6 100644 --- a/libc/stdlib/Makefile +++ b/libc/stdlib/Makefile @@ -55,7 +55,10 @@ routines-y := \ strtoimax strtoumax wcstoimax wcstoumax \ getcontext setcontext makecontext swapcontext routines-$(OPTION_EGLIBC_LOCALE_CODE) += \ - rpmatch strfmon strfmon_l + strfmon strfmon_l +ifeq (yy,$(OPTION_EGLIBC_LOCALE_CODE)$(OPTION_POSIX_REGEXP)) +routines-y += rpmatch +endif aux = grouping groupingwc # These routines will be omitted from the libc shared object. |