Add build options to control SuS compatability, allows numeric

option handling to be disabled.
Defaults to enabled, so no changes in default behaviour
This commit is contained in:
Glenn L McGrath
2005-12-11 03:09:05 +00:00
parent d77b781c1f
commit 0bd0257fe0
5 changed files with 24 additions and 1 deletions

View File

@@ -203,6 +203,21 @@ config EXTRA_CFLAGS_OPTIONS
if you want to add some simple compiler switches (like -march=i686),
or check for warnings using -Werror, just those options here.
config CONFIG_FEATURE_SUSv2
bool "Enable features that are in SuSv2 but not SuSv3?"
default y
help
This option will enable backwards compatability with SuSv2,
specifically, numeric options such as 'head -1 <file>' will be
supported.
config CONFIG_FEATURE_SUSv2_OBSOLETE
bool "Enable features that are obsolete in SuSv2"
depends on CONFIG_FEATURE_SUSv2
default y
help
Disables support for numeric arguments in fold.
endmenu
menu 'Installation Options'