diff options
author | David S. Miller <davem@davemloft.net> | 2005-08-25 19:23:11 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:11:11 -0400 |
commit | 29cb9f9c5502f6218cd3ea574efe46a5e55522d2 (patch) | |
tree | e3e16f62e7d203093e5d582db32ea357e3e70a58 | |
parent | 8082e4ed0a61da347f1c7f210493c4e9e55c8cd0 (diff) |
[LIB]: Make TEXTSEARCH_BM plain tristate like the others
And select it when the relevant modules are enabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | lib/Kconfig | 9 | ||||
-rw-r--r-- | net/ipv4/netfilter/Kconfig | 1 | ||||
-rw-r--r-- | net/sched/Kconfig | 1 |
3 files changed, 3 insertions, 8 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index b62f685f797f..e43197efeb9c 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -73,14 +73,7 @@ config TEXTSEARCH_KMP | |||
73 | tristate | 73 | tristate |
74 | 74 | ||
75 | config TEXTSEARCH_BM | 75 | config TEXTSEARCH_BM |
76 | depends on TEXTSEARCH | 76 | tristate |
77 | tristate "Boyer-Moore" | ||
78 | help | ||
79 | Say Y here if you want to be able to search text using the | ||
80 | Boyer-Moore textsearch algorithm. | ||
81 | |||
82 | To compile this code as a module, choose M here: the | ||
83 | module will be called ts_bm. | ||
84 | 77 | ||
85 | config TEXTSEARCH_FSM | 78 | config TEXTSEARCH_FSM |
86 | tristate | 79 | tristate |
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig index f2bea6ecb226..c4213f3de505 100644 --- a/net/ipv4/netfilter/Kconfig +++ b/net/ipv4/netfilter/Kconfig | |||
@@ -415,6 +415,7 @@ config IP_NF_MATCH_STRING | |||
415 | depends on IP_NF_IPTABLES | 415 | depends on IP_NF_IPTABLES |
416 | select TEXTSEARCH | 416 | select TEXTSEARCH |
417 | select TEXTSEARCH_KMP | 417 | select TEXTSEARCH_KMP |
418 | select TEXTSEARCH_BM | ||
418 | select TEXTSEARCH_FSM | 419 | select TEXTSEARCH_FSM |
419 | help | 420 | help |
420 | This option adds a `string' match, which allows you to look for | 421 | This option adds a `string' match, which allows you to look for |
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index 59d3e71f8b85..45d3bc0812c8 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig | |||
@@ -491,6 +491,7 @@ config NET_EMATCH_TEXT | |||
491 | depends on NET_EMATCH | 491 | depends on NET_EMATCH |
492 | select TEXTSEARCH | 492 | select TEXTSEARCH |
493 | select TEXTSEARCH_KMP | 493 | select TEXTSEARCH_KMP |
494 | select TEXTSEARCH_BM | ||
494 | select TEXTSEARCH_FSM | 495 | select TEXTSEARCH_FSM |
495 | ---help--- | 496 | ---help--- |
496 | Say Y here if you want to be ablt to classify packets based on | 497 | Say Y here if you want to be ablt to classify packets based on |