瀏覽代碼

Add option to allow switching between old and new regex

Peter S. Mazinger 18 年之前
父節點
當前提交
47e2330706
共有 1 個文件被更改,包括 10 次插入0 次删除
  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