Jelajahi Sumber

[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>
David S. Miller 20 tahun lalu
induk
melakukan
29cb9f9c55
3 mengubah file dengan 3 tambahan dan 8 penghapusan
  1. 1 8
      lib/Kconfig
  2. 1 0
      net/ipv4/netfilter/Kconfig
  3. 1 0
      net/sched/Kconfig

+ 1 - 8
lib/Kconfig

@@ -73,14 +73,7 @@ config TEXTSEARCH_KMP
 	tristate
 
 config TEXTSEARCH_BM
-        depends on TEXTSEARCH
-        tristate "Boyer-Moore"
-        help
-          Say Y here if you want to be able to search text using the
-          Boyer-Moore textsearch algorithm.
-
-          To compile this code as a module, choose M here: the
-          module will be called ts_bm.
+	tristate
 
 config TEXTSEARCH_FSM
 	tristate

+ 1 - 0
net/ipv4/netfilter/Kconfig

@@ -415,6 +415,7 @@ config IP_NF_MATCH_STRING
 	depends on IP_NF_IPTABLES 
 	select TEXTSEARCH
 	select TEXTSEARCH_KMP
+	select TEXTSEARCH_BM
 	select TEXTSEARCH_FSM
 	help
 	  This option adds a `string' match, which allows you to look for

+ 1 - 0
net/sched/Kconfig

@@ -491,6 +491,7 @@ config NET_EMATCH_TEXT
 	depends on NET_EMATCH
 	select TEXTSEARCH
 	select TEXTSEARCH_KMP
+	select TEXTSEARCH_BM
 	select TEXTSEARCH_FSM
 	---help---
 	  Say Y here if you want to be ablt to classify packets based on