aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-06-24 20:39:03 -0400
committerDavid S. Miller <davem@davemloft.net>2005-06-24 20:39:03 -0400
commitf7704347a74fceaf79c89f8b8dbdd0111013e4d6 (patch)
tree96cdf098692ee1054ca75af546b9cc720f07a7a1 /lib
parentb3e112bcc19abd8e9657dca34a87316786e096f3 (diff)
[PKT_SCHED]: Make TEXTSEARCH* options only selected.
Do not present these confusing new options to the user unless he picked some facility that makes use of it, such as NET_EMATCH_TEXT. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig28
1 files changed, 6 insertions, 22 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 455833a9e31a..eeb429a52152 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -63,32 +63,16 @@ config REED_SOLOMON_ENC16
63config REED_SOLOMON_DEC16 63config REED_SOLOMON_DEC16
64 boolean 64 boolean
65 65
66#
67# Textsearch support is select'ed if needed
68#
66config TEXTSEARCH 69config TEXTSEARCH
67 boolean "Textsearch infrastructure" 70 boolean
68 default y
69 help
70 Say Y here if you want to provide a textsearch infrastructure
71 to other subsystems.
72 71
73config TEXTSEARCH_KMP 72config TEXTSEARCH_KMP
74 depends on TEXTSEARCH 73 tristate
75 tristate "Knuth-Morris-Pratt"
76 help
77 Say Y here if you want to be able to search text using the
78 Knuth-Morris-Pratt textsearch algorithm.
79
80 To compile this code as a module, choose M here: the
81 module will be called ts_kmp.
82 74
83config TEXTSEARCH_FSM 75config TEXTSEARCH_FSM
84 depends on TEXTSEARCH 76 tristate
85 tristate "Finite state machine"
86 help
87 Say Y here if you want to be able to search text using a
88 naive finite state machine approach implementing a subset
89 of regular expressions.
90
91 To compile this code as a module, choose M here: the
92 module will be called ts_fsm.
93 77
94endmenu 78endmenu