diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2005-12-11 03:09:05 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2005-12-11 03:09:05 +0000 |
commit | 0bd0257fe0fb3835af056ec933b010aad2722f93 (patch) | |
tree | c6410295b7270b93ffab84419419b9b05586e370 /sysdeps/linux | |
parent | d77b781c1f0f0913b252c8f207f5518e77733dc3 (diff) | |
download | busybox-w32-0bd0257fe0fb3835af056ec933b010aad2722f93.tar.gz busybox-w32-0bd0257fe0fb3835af056ec933b010aad2722f93.tar.bz2 busybox-w32-0bd0257fe0fb3835af056ec933b010aad2722f93.zip |
Add build options to control SuS compatability, allows numeric
option handling to be disabled.
Defaults to enabled, so no changes in default behaviour
Diffstat (limited to 'sysdeps/linux')
-rw-r--r-- | sysdeps/linux/Config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in index 95491c9a0..fb97c8f05 100644 --- a/sysdeps/linux/Config.in +++ b/sysdeps/linux/Config.in | |||
@@ -203,6 +203,21 @@ config EXTRA_CFLAGS_OPTIONS | |||
203 | if you want to add some simple compiler switches (like -march=i686), | 203 | if you want to add some simple compiler switches (like -march=i686), |
204 | or check for warnings using -Werror, just those options here. | 204 | or check for warnings using -Werror, just those options here. |
205 | 205 | ||
206 | config CONFIG_FEATURE_SUSv2 | ||
207 | bool "Enable features that are in SuSv2 but not SuSv3?" | ||
208 | default y | ||
209 | help | ||
210 | This option will enable backwards compatability with SuSv2, | ||
211 | specifically, numeric options such as 'head -1 <file>' will be | ||
212 | supported. | ||
213 | |||
214 | config CONFIG_FEATURE_SUSv2_OBSOLETE | ||
215 | bool "Enable features that are obsolete in SuSv2" | ||
216 | depends on CONFIG_FEATURE_SUSv2 | ||
217 | default y | ||
218 | help | ||
219 | Disables support for numeric arguments in fold. | ||
220 | |||
206 | endmenu | 221 | endmenu |
207 | 222 | ||
208 | menu 'Installation Options' | 223 | menu 'Installation Options' |