fix build on some compilers
[pandora-kernel.git] / lib / Kconfig
1 #
2 # Library configuration
3 #
4
5 menu "Library routines"
6
7 config BITREVERSE
8         tristate
9
10 config GENERIC_FIND_FIRST_BIT
11         def_bool n
12
13 config GENERIC_FIND_NEXT_BIT
14         def_bool n
15
16 config CRC_CCITT
17         tristate "CRC-CCITT functions"
18         help
19           This option is provided for the case where no in-kernel-tree
20           modules require CRC-CCITT functions, but a module built outside
21           the kernel tree does. Such modules that use library CRC-CCITT
22           functions require M here.
23
24 config CRC16
25         tristate "CRC16 functions"
26         help
27           This option is provided for the case where no in-kernel-tree
28           modules require CRC16 functions, but a module built outside
29           the kernel tree does. Such modules that use library CRC16
30           functions require M here.
31
32 config CRC_T10DIF
33         tristate "CRC calculation for the T10 Data Integrity Field"
34         help
35           This option is only needed if a module that's not in the
36           kernel tree needs to calculate CRC checks for use with the
37           SCSI data integrity subsystem.
38
39 config CRC_ITU_T
40         tristate "CRC ITU-T V.41 functions"
41         help
42           This option is provided for the case where no in-kernel-tree
43           modules require CRC ITU-T V.41 functions, but a module built outside
44           the kernel tree does. Such modules that use library CRC ITU-T V.41
45           functions require M here.
46
47 config CRC32
48         tristate "CRC32 functions"
49         default y
50         select BITREVERSE
51         help
52           This option is provided for the case where no in-kernel-tree
53           modules require CRC32 functions, but a module built outside the
54           kernel tree does. Such modules that use library CRC32 functions
55           require M here.
56
57 config CRC7
58         tristate "CRC7 functions"
59         help
60           This option is provided for the case where no in-kernel-tree
61           modules require CRC7 functions, but a module built outside
62           the kernel tree does. Such modules that use library CRC7
63           functions require M here.
64
65 config LIBCRC32C
66         tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
67         help
68           This option is provided for the case where no in-kernel-tree
69           modules require CRC32c functions, but a module built outside the
70           kernel tree does. Such modules that use library CRC32c functions
71           require M here.  See Castagnoli93.
72           Module will be libcrc32c.
73
74 config AUDIT_GENERIC
75         bool
76         depends on AUDIT && !AUDIT_ARCH
77         default y
78
79 #
80 # compression support is select'ed if needed
81 #
82 config ZLIB_INFLATE
83         tristate
84
85 config ZLIB_DEFLATE
86         tristate
87
88 config LZO_COMPRESS
89         tristate
90
91 config LZO_DECOMPRESS
92         tristate
93
94 #
95 # Generic allocator support is selected if needed
96 #
97 config GENERIC_ALLOCATOR
98         boolean
99
100 #
101 # reed solomon support is select'ed if needed
102 #
103 config REED_SOLOMON
104         tristate
105         
106 config REED_SOLOMON_ENC8
107         boolean
108
109 config REED_SOLOMON_DEC8
110         boolean
111
112 config REED_SOLOMON_ENC16
113         boolean
114
115 config REED_SOLOMON_DEC16
116         boolean
117
118 #
119 # Textsearch support is select'ed if needed
120 #
121 config TEXTSEARCH
122         boolean
123
124 config TEXTSEARCH_KMP
125         tristate
126
127 config TEXTSEARCH_BM
128         tristate
129
130 config TEXTSEARCH_FSM
131         tristate
132
133 #
134 # plist support is select#ed if needed
135 #
136 config PLIST
137         boolean
138
139 config HAS_IOMEM
140         boolean
141         depends on !NO_IOMEM
142         default y
143
144 config HAS_IOPORT
145         boolean
146         depends on HAS_IOMEM && !NO_IOPORT
147         default y
148
149 config HAS_DMA
150         boolean
151         depends on !NO_DMA
152         default y
153
154 config CHECK_SIGNATURE
155         bool
156
157 config HAVE_LMB
158         boolean
159
160 endmenu