[PATCH] make SPEAKUP_DEFAULT depend on SPEAKUP

From: Jesper Juhl
Date: Sat Jul 16 2005 - 22:14:47 EST


When running `make oldconfig' with my 2.6.13-rc3 config on 2.6.13-rc3-mm1 I
got a bit surprised when I answered `N'o to CONFIG_SPEAKUP but then still
got prompted for CONFIG_SPEAKUP_DEFAULT - that didn't make sense, why would
I want to select a default synthesizer for speakup if I have disabled speakup
alltogether in the first place?
The patch below makes SPEAKUP_DEFAULT depend on SPEAKUP. I believe that's the
sane thing to do :)


Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx>
---

drivers/char/speakup/Kconfig | 1 +
1 files changed, 1 insertion(+)

--- linux-2.6.13-rc3-mm1-orig/drivers/char/speakup/Kconfig 2005-07-17 04:39:45.000000000 +0200
+++ linux-2.6.13-rc3-mm1/drivers/char/speakup/Kconfig 2005-07-17 05:15:05.000000000 +0200
@@ -204,6 +204,7 @@
endif

config SPEAKUP_DEFAULT
+ depends on SPEAKUP
string "Choose Default synthesizer for Speakup"
default "none"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/