xref: /linux/lib/Kconfig (revision 8082e4ed0a61da347f1c7f210493c4e9e55c8cd0)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Library routines"
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig CRC_CCITT
81da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
111da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
121da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
131da177e4SLinus Torvalds	  functions require M here.
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsconfig CRC32
161da177e4SLinus Torvalds	tristate "CRC32 functions"
171da177e4SLinus Torvalds	default y
181da177e4SLinus Torvalds	help
191da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
201da177e4SLinus Torvalds	  modules require CRC32 functions, but a module built outside the
211da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32 functions
221da177e4SLinus Torvalds	  require M here.
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig LIBCRC32C
251da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
281da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
291da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
301da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
311da177e4SLinus Torvalds	  Module will be libcrc32c.
321da177e4SLinus Torvalds
331da177e4SLinus Torvalds#
341da177e4SLinus Torvalds# compression support is select'ed if needed
351da177e4SLinus Torvalds#
361da177e4SLinus Torvaldsconfig ZLIB_INFLATE
371da177e4SLinus Torvalds	tristate
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
401da177e4SLinus Torvalds	tristate
411da177e4SLinus Torvalds
421da177e4SLinus Torvalds#
43f14f75b8SJes Sorensen# Generic allocator support is selected if needed
44f14f75b8SJes Sorensen#
45f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
46f14f75b8SJes Sorensen	boolean
47f14f75b8SJes Sorensen
48f14f75b8SJes Sorensen#
491da177e4SLinus Torvalds# reed solomon support is select'ed if needed
501da177e4SLinus Torvalds#
511da177e4SLinus Torvaldsconfig REED_SOLOMON
521da177e4SLinus Torvalds	tristate
531da177e4SLinus Torvalds
541da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
551da177e4SLinus Torvalds	boolean
561da177e4SLinus Torvalds
571da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
581da177e4SLinus Torvalds	boolean
591da177e4SLinus Torvalds
601da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
611da177e4SLinus Torvalds	boolean
621da177e4SLinus Torvalds
631da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
641da177e4SLinus Torvalds	boolean
651da177e4SLinus Torvalds
66f7704347SDavid S. Miller#
67f7704347SDavid S. Miller# Textsearch support is select'ed if needed
68f7704347SDavid S. Miller#
692de4ff7bSThomas Grafconfig TEXTSEARCH
70f7704347SDavid S. Miller	boolean
711da177e4SLinus Torvalds
72df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
73f7704347SDavid S. Miller	tristate
74df3fb93aSThomas Graf
75*8082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
76*8082e4edSPablo Neira Ayuso        depends on TEXTSEARCH
77*8082e4edSPablo Neira Ayuso        tristate "Boyer-Moore"
78*8082e4edSPablo Neira Ayuso        help
79*8082e4edSPablo Neira Ayuso          Say Y here if you want to be able to search text using the
80*8082e4edSPablo Neira Ayuso          Boyer-Moore textsearch algorithm.
81*8082e4edSPablo Neira Ayuso
82*8082e4edSPablo Neira Ayuso          To compile this code as a module, choose M here: the
83*8082e4edSPablo Neira Ayuso          module will be called ts_bm.
84*8082e4edSPablo Neira Ayuso
856408f79cSThomas Grafconfig TEXTSEARCH_FSM
86f7704347SDavid S. Miller	tristate
876408f79cSThomas Graf
882de4ff7bSThomas Grafendmenu
89