summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/Configs/Config.in73
-rw-r--r--libc/misc/Makefile8
2 files changed, 57 insertions, 24 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index e99282004..3080f8357 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -236,27 +236,6 @@ config HAS_SHADOW
Answer N if you do not need shadow password support.
Most people will answer Y.
-config UCLIBC_HAS_REGEX
- bool "Regular Expression Support"
- 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
- help
- The SuSv3 wordexp() interface performs word expansions per the Shell
- and Utilities volume of IEEE Std 1003.1-2001, Section 2.6. It is
- intended for use by applications that want to implement all of the
- standard Bourne shell expansions on input data.
-
- This interface is rarely used, and very large. Unless you have a
- pressing need for wordexp(), you should probably answer N.
-
config UNIX98PTY_ONLY
bool "Support only Unix 98 PTYs"
default y
@@ -346,8 +325,6 @@ config UCLIBC_TZ_FILE_PATH
endmenu
-
-
menu "Networking Support"
config UCLIBC_HAS_IPV6
@@ -743,6 +720,56 @@ config UCLIBC_HAS_GETTEXT_AWARENESS
endmenu
+
+menu "Big and Tall"
+
+config UCLIBC_HAS_REGEX
+ bool "Regular Expression Support"
+ 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
+ help
+ The SuSv3 wordexp() interface performs word expansions per the Shell
+ and Utilities volume of IEEE Std 1003.1-2001, Section 2.6. It is
+ intended for use by applications that want to implement all of the
+ standard Bourne shell expansions on input data.
+
+ This interface is rarely used, and very large. Unless you have a
+ pressing need for wordexp(), you should probably answer N.
+
+config UCLIBC_HAS_FTW
+ bool "Support the ftw() and nftw() interfaces"
+ default n
+ help
+ The SuSv3 ftw() and nftw() interfaces are used to recursively descend
+ directory paths while repeatedly calling a function.
+
+ This interface is rarely used, and adds around 4.5k. Unless you have
+ a pressing need for ftw() or nftw(), you should probably answer N.
+
+config UCLIBC_HAS_GLOB
+ bool "Support the glob() interface"
+ default y
+ help
+
+ The glob interface is somewhat large (weighing in at about 4k). It
+ is used fairly often, but is an option since people wanting to go for
+ absolute minimum size may wish to omit it.
+
+ Most people will answer Y.
+
+endmenu
+
+
+
+
menu "Library Installation Options"
config SHARED_LIB_LOADER_PATH
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 875898259..f35337a3b 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -25,7 +25,7 @@ TOPDIR=../../
include $(TOPDIR)Rules.mak
-DIRS = assert ctype dirent file fnmatch glob internals \
+DIRS = assert ctype dirent file fnmatch internals \
mntent syslog time utmp sysvipc statfs \
error ttyent gnu search locale
ifeq ($(strip $(UCLIBC_HAS_REGEX)),y)
@@ -43,6 +43,12 @@ endif
ifeq ($(strip $(UCLIBC_HAS_GETTEXT_AWARENESS)),y)
DIRS += intl
endif
+ifeq ($(strip $(UCLIBC_HAS_FTW)),y)
+DIRS += ftw
+endif
+ifeq ($(strip $(UCLIBC_HAS_GLOB)),y)
+DIRS += glob
+endif
all: libc.a