Browse Source

Add option to allow switching between old and new regex

Peter S. Mazinger 19 years ago
parent
commit
47e2330706
1 changed files with 10 additions and 0 deletions
  1. 10 0
      extra/Configs/Config.in

+ 10 - 0
extra/Configs/Config.in

@@ -1044,6 +1044,16 @@ config UCLIBC_HAS_REGEX
 	  Of course, if you only staticly link, leave this on, since it will
 	  only be included in your apps if you use regular expressions.
 
+config UCLIBC_HAS_REGEX_OLD
+	bool "Use the older (stable) Regular Expression Support"
+	depends on UCLIBC_HAS_REGEX
+	default y
+	help
+	  POSIX regular expression code is really big -- 27k all by itself.
+	  If you don't use regular expressions, turn this off and save space.
+	  Of course, if you only staticly link, leave this on, since it will
+	  only be included in your apps if you use regular expressions.
+
 config UCLIBC_HAS_WORDEXP
 	bool "Support the wordexp() interface"
 	default n