summaryrefslogtreecommitdiff
path: root/busybox.kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.kconfig')
-rw-r--r--busybox.kconfig43
1 files changed, 30 insertions, 13 deletions
diff --git a/busybox.kconfig b/busybox.kconfig
index 635bf20..d52ca7c 100644
--- a/busybox.kconfig
+++ b/busybox.kconfig
@@ -31,17 +31,6 @@ config KEMBTK_BUSYB_EXTRA_COMPAT
some GNU extensions in libc. You probably only need this option
if you plan to run busybox on desktop.
-config KEMBTK_BUSYB_FEATURE_ASSUME_UNICODE
- bool "Assume that 1:1 char/glyph correspondence is not true"
- help
- This makes various applets aware that one byte is not
- one character on screen.
-
- Busybox aims to eventually work correctly with Unicode displays.
- Any older encodings are not guaranteed to work.
- Probably by the time when busybox will be fully Unicode-clean,
- other encodings will be mainly of historic interest.
-
choice
prompt "Buffer allocation policy"
help
@@ -110,13 +99,41 @@ config KEMBTK_BUSYB_LOCALE_SUPPORT
Enable this if your system has locale support and you would like
busybox to support locale settings.
-config KEMBTK_BUSYB_GETOPT_LONG
+config KEMBTK_BUSYB_FEATURE_ASSUME_UNICODE
+ bool "Support Unicode"
+ help
+ This makes various applets aware that one byte is not
+ one character on screen.
+
+ Busybox aims to eventually work correctly with Unicode displays.
+ Any older encodings are not guaranteed to work.
+ Probably by the time when busybox will be fully Unicode-clean,
+ other encodings will be mainly of historic interest.
+
+config KEMBTK_BUSYB_FEATURE_CHECK_UNICODE_IN_ENV
+ bool "Check $LANG environment variable"
+ default y
+ depends on KEMBTK_BUSYB_FEATURE_ASSUME_UNICODE && !KEMBTK_BUSYB_LOCALE_SUPPORT
+ depends on EMBTK_BB_VERSION_1_15_X
+ help
+ With this option on, Unicode support is activated
+ only if LANG variable has the value of the form "xxxx.utf8"
+
+ Otherwise, Unicode support will be always enabled and active.
+
+config KEMBTK_BUSYB_LONG_OPTS
bool "Support for --long-options"
default y
+ select KEMBTK_BUSYB_GETOPT_LONG
help
Enable this if you want busybox applets to use the gnu --long-option
style, in addition to single character -a -b -c style options.
+config KEMBTK_BUSYB_GETOPT_LONG
+ bool
+ help
+ backward compatibility for busybox-1.{13,14}.x
+
config KEMBTK_BUSYB_FEATURE_DEVPTS
bool "Use the devpts filesystem for Unix98 PTYs"
default y
@@ -395,7 +412,7 @@ config KEMBTK_BUSYB_CROSS_COMPILER_PREFIX
config KEMBTK_BUSYB_EXTRA_CFLAGS
string "Additional CFLAGS"
- depends on EMBTK_BB_VERSION_1_14_X
+ depends on EMBTK_BB_VERSION_1_14_X || EMBTK_BB_VERSION_1_15_X
default ""
help
Additional CFLAGS to pass to the compiler verbatim.