menuconfig: transform NLS and DLM menus

Changes NLS and DLM menus into a 'menuconfig' object so that it can be
disabled at once without having to enter the menu first to disable the config
option.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jan Engelhardt 2007-10-16 23:30:15 -07:00 committed by Linus Torvalds
parent 2d1df8153c
commit a77b645609
2 changed files with 7 additions and 51 deletions

View File

@ -1,8 +1,6 @@
menu "Distributed Lock Manager" menuconfig DLM
depends on EXPERIMENTAL && INET
config DLM
tristate "Distributed Lock Manager (DLM)" tristate "Distributed Lock Manager (DLM)"
depends on EXPERIMENTAL && INET
depends on SYSFS && (IPV6 || IPV6=n) depends on SYSFS && (IPV6 || IPV6=n)
select CONFIGFS_FS select CONFIGFS_FS
select IP_SCTP select IP_SCTP
@ -17,5 +15,3 @@ config DLM_DEBUG
Under the debugfs mount point, the name of each lockspace will Under the debugfs mount point, the name of each lockspace will
appear as a file in the "dlm" directory. The output is the appear as a file in the "dlm" directory. The output is the
list of resource and locks the local node knows about. list of resource and locks the local node knows about.
endmenu

View File

@ -2,10 +2,8 @@
# Native language support configuration # Native language support configuration
# #
menu "Native Language Support" menuconfig NLS
tristate "Native language support"
config NLS
tristate "Base native language support"
---help--- ---help---
The base Native Language Support. A number of filesystems The base Native Language Support. A number of filesystems
depend on it (e.g. FAT, JOLIET, NT, BEOS filesystems), as well depend on it (e.g. FAT, JOLIET, NT, BEOS filesystems), as well
@ -17,9 +15,10 @@ config NLS
To compile this code as a module, choose M here: the module To compile this code as a module, choose M here: the module
will be called nls_base. will be called nls_base.
if NLS
config NLS_DEFAULT config NLS_DEFAULT
string "Default NLS Option" string "Default NLS Option"
depends on NLS
default "iso8859-1" default "iso8859-1"
---help--- ---help---
The default NLS used when mounting file system. Note, that this is The default NLS used when mounting file system. Note, that this is
@ -39,7 +38,6 @@ config NLS_DEFAULT
config NLS_CODEPAGE_437 config NLS_CODEPAGE_437
tristate "Codepage 437 (United States, Canada)" tristate "Codepage 437 (United States, Canada)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored native language character sets. These character sets are stored
@ -52,7 +50,6 @@ config NLS_CODEPAGE_437
config NLS_CODEPAGE_737 config NLS_CODEPAGE_737
tristate "Codepage 737 (Greek)" tristate "Codepage 737 (Greek)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored native language character sets. These character sets are stored
@ -65,7 +62,6 @@ config NLS_CODEPAGE_737
config NLS_CODEPAGE_775 config NLS_CODEPAGE_775
tristate "Codepage 775 (Baltic Rim)" tristate "Codepage 775 (Baltic Rim)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored native language character sets. These character sets are stored
@ -79,7 +75,6 @@ config NLS_CODEPAGE_775
config NLS_CODEPAGE_850 config NLS_CODEPAGE_850
tristate "Codepage 850 (Europe)" tristate "Codepage 850 (Europe)"
depends on NLS
---help--- ---help---
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -96,7 +91,6 @@ config NLS_CODEPAGE_850
config NLS_CODEPAGE_852 config NLS_CODEPAGE_852
tristate "Codepage 852 (Central/Eastern Europe)" tristate "Codepage 852 (Central/Eastern Europe)"
depends on NLS
---help--- ---help---
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -112,7 +106,6 @@ config NLS_CODEPAGE_852
config NLS_CODEPAGE_855 config NLS_CODEPAGE_855
tristate "Codepage 855 (Cyrillic)" tristate "Codepage 855 (Cyrillic)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -124,7 +117,6 @@ config NLS_CODEPAGE_855
config NLS_CODEPAGE_857 config NLS_CODEPAGE_857
tristate "Codepage 857 (Turkish)" tristate "Codepage 857 (Turkish)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -136,7 +128,6 @@ config NLS_CODEPAGE_857
config NLS_CODEPAGE_860 config NLS_CODEPAGE_860
tristate "Codepage 860 (Portuguese)" tristate "Codepage 860 (Portuguese)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -148,7 +139,6 @@ config NLS_CODEPAGE_860
config NLS_CODEPAGE_861 config NLS_CODEPAGE_861
tristate "Codepage 861 (Icelandic)" tristate "Codepage 861 (Icelandic)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -160,7 +150,6 @@ config NLS_CODEPAGE_861
config NLS_CODEPAGE_862 config NLS_CODEPAGE_862
tristate "Codepage 862 (Hebrew)" tristate "Codepage 862 (Hebrew)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -172,7 +161,6 @@ config NLS_CODEPAGE_862
config NLS_CODEPAGE_863 config NLS_CODEPAGE_863
tristate "Codepage 863 (Canadian French)" tristate "Codepage 863 (Canadian French)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -185,7 +173,6 @@ config NLS_CODEPAGE_863
config NLS_CODEPAGE_864 config NLS_CODEPAGE_864
tristate "Codepage 864 (Arabic)" tristate "Codepage 864 (Arabic)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -197,7 +184,6 @@ config NLS_CODEPAGE_864
config NLS_CODEPAGE_865 config NLS_CODEPAGE_865
tristate "Codepage 865 (Norwegian, Danish)" tristate "Codepage 865 (Norwegian, Danish)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -210,7 +196,6 @@ config NLS_CODEPAGE_865
config NLS_CODEPAGE_866 config NLS_CODEPAGE_866
tristate "Codepage 866 (Cyrillic/Russian)" tristate "Codepage 866 (Cyrillic/Russian)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -223,7 +208,6 @@ config NLS_CODEPAGE_866
config NLS_CODEPAGE_869 config NLS_CODEPAGE_869
tristate "Codepage 869 (Greek)" tristate "Codepage 869 (Greek)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -235,7 +219,6 @@ config NLS_CODEPAGE_869
config NLS_CODEPAGE_936 config NLS_CODEPAGE_936
tristate "Simplified Chinese charset (CP936, GB2312)" tristate "Simplified Chinese charset (CP936, GB2312)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -248,7 +231,6 @@ config NLS_CODEPAGE_936
config NLS_CODEPAGE_950 config NLS_CODEPAGE_950
tristate "Traditional Chinese charset (Big5)" tristate "Traditional Chinese charset (Big5)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -261,7 +243,6 @@ config NLS_CODEPAGE_950
config NLS_CODEPAGE_932 config NLS_CODEPAGE_932
tristate "Japanese charsets (Shift-JIS, EUC-JP)" tristate "Japanese charsets (Shift-JIS, EUC-JP)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -275,7 +256,6 @@ config NLS_CODEPAGE_932
config NLS_CODEPAGE_949 config NLS_CODEPAGE_949
tristate "Korean charset (CP949, EUC-KR)" tristate "Korean charset (CP949, EUC-KR)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -287,7 +267,6 @@ config NLS_CODEPAGE_949
config NLS_CODEPAGE_874 config NLS_CODEPAGE_874
tristate "Thai charset (CP874, TIS-620)" tristate "Thai charset (CP874, TIS-620)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -299,7 +278,6 @@ config NLS_CODEPAGE_874
config NLS_ISO8859_8 config NLS_ISO8859_8
tristate "Hebrew charsets (ISO-8859-8, CP1255)" tristate "Hebrew charsets (ISO-8859-8, CP1255)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -309,7 +287,6 @@ config NLS_ISO8859_8
config NLS_CODEPAGE_1250 config NLS_CODEPAGE_1250
tristate "Windows CP1250 (Slavic/Central European Languages)" tristate "Windows CP1250 (Slavic/Central European Languages)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CDROMs from the Microsoft FAT file system family or from JOLIET CDROMs
@ -321,7 +298,6 @@ config NLS_CODEPAGE_1250
config NLS_CODEPAGE_1251 config NLS_CODEPAGE_1251
tristate "Windows CP1251 (Bulgarian, Belarusian)" tristate "Windows CP1251 (Bulgarian, Belarusian)"
depends on NLS
help help
The Microsoft FAT file system family can deal with filenames in The Microsoft FAT file system family can deal with filenames in
native language character sets. These character sets are stored in native language character sets. These character sets are stored in
@ -334,7 +310,6 @@ config NLS_CODEPAGE_1251
config NLS_ASCII config NLS_ASCII
tristate "ASCII (United States)" tristate "ASCII (United States)"
depends on NLS
help help
An ASCII NLS module is needed if you want to override the An ASCII NLS module is needed if you want to override the
DEFAULT NLS with this very basic charset and don't want any DEFAULT NLS with this very basic charset and don't want any
@ -342,7 +317,6 @@ config NLS_ASCII
config NLS_ISO8859_1 config NLS_ISO8859_1
tristate "NLS ISO 8859-1 (Latin 1; Western European Languages)" tristate "NLS ISO 8859-1 (Latin 1; Western European Languages)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -355,7 +329,6 @@ config NLS_ISO8859_1
config NLS_ISO8859_2 config NLS_ISO8859_2
tristate "NLS ISO 8859-2 (Latin 2; Slavic/Central European Languages)" tristate "NLS ISO 8859-2 (Latin 2; Slavic/Central European Languages)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -367,7 +340,6 @@ config NLS_ISO8859_2
config NLS_ISO8859_3 config NLS_ISO8859_3
tristate "NLS ISO 8859-3 (Latin 3; Esperanto, Galician, Maltese, Turkish)" tristate "NLS ISO 8859-3 (Latin 3; Esperanto, Galician, Maltese, Turkish)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -378,7 +350,6 @@ config NLS_ISO8859_3
config NLS_ISO8859_4 config NLS_ISO8859_4
tristate "NLS ISO 8859-4 (Latin 4; old Baltic charset)" tristate "NLS ISO 8859-4 (Latin 4; old Baltic charset)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -389,7 +360,6 @@ config NLS_ISO8859_4
config NLS_ISO8859_5 config NLS_ISO8859_5
tristate "NLS ISO 8859-5 (Cyrillic)" tristate "NLS ISO 8859-5 (Cyrillic)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -401,7 +371,6 @@ config NLS_ISO8859_5
config NLS_ISO8859_6 config NLS_ISO8859_6
tristate "NLS ISO 8859-6 (Arabic)" tristate "NLS ISO 8859-6 (Arabic)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -411,7 +380,6 @@ config NLS_ISO8859_6
config NLS_ISO8859_7 config NLS_ISO8859_7
tristate "NLS ISO 8859-7 (Modern Greek)" tristate "NLS ISO 8859-7 (Modern Greek)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -421,7 +389,6 @@ config NLS_ISO8859_7
config NLS_ISO8859_9 config NLS_ISO8859_9
tristate "NLS ISO 8859-9 (Latin 5; Turkish)" tristate "NLS ISO 8859-9 (Latin 5; Turkish)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -432,7 +399,6 @@ config NLS_ISO8859_9
config NLS_ISO8859_13 config NLS_ISO8859_13
tristate "NLS ISO 8859-13 (Latin 7; Baltic)" tristate "NLS ISO 8859-13 (Latin 7; Baltic)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -443,7 +409,6 @@ config NLS_ISO8859_13
config NLS_ISO8859_14 config NLS_ISO8859_14
tristate "NLS ISO 8859-14 (Latin 8; Celtic)" tristate "NLS ISO 8859-14 (Latin 8; Celtic)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -455,7 +420,6 @@ config NLS_ISO8859_14
config NLS_ISO8859_15 config NLS_ISO8859_15
tristate "NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)" tristate "NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)"
depends on NLS
---help--- ---help---
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -472,7 +436,6 @@ config NLS_ISO8859_15
config NLS_KOI8_R config NLS_KOI8_R
tristate "NLS KOI8-R (Russian)" tristate "NLS KOI8-R (Russian)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -482,7 +445,6 @@ config NLS_KOI8_R
config NLS_KOI8_U config NLS_KOI8_U
tristate "NLS KOI8-U/RU (Ukrainian, Belarusian)" tristate "NLS KOI8-U/RU (Ukrainian, Belarusian)"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -492,7 +454,6 @@ config NLS_KOI8_U
config NLS_UTF8 config NLS_UTF8
tristate "NLS UTF-8" tristate "NLS UTF-8"
depends on NLS
help help
If you want to display filenames with native language characters If you want to display filenames with native language characters
from the Microsoft FAT file system family or from JOLIET CD-ROMs from the Microsoft FAT file system family or from JOLIET CD-ROMs
@ -500,5 +461,4 @@ config NLS_UTF8
input/output character sets. Say Y here for the UTF-8 encoding of input/output character sets. Say Y here for the UTF-8 encoding of
the Unicode/ISO9646 universal character set. the Unicode/ISO9646 universal character set.
endmenu endif # NLS