<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From akpm@osdl.org Sat Jul 16 21:13:51 2005
Date: Sat, 16 Jul 2005 21:07:02 -0700
From: Andrew Morton &lt;akpm@osdl.org&gt;
Cc: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
To: Greg KH &lt;greg@kroah.com&gt;
Subject: SPEAKUP: make SPEAKUP_DEFAULT depend on SPEAKUP
Message-Id: &lt;20050716210702.496b401d.akpm@osdl.org&gt;


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 &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

--- gregkh-2.6.orig/drivers/char/speakup/Kconfig	2005-07-27 13:02:56.000000000 -0700
+++ gregkh-2.6/drivers/char/speakup/Kconfig	2005-07-27 13:36:45.000000000 -0700
@@ -204,6 +204,7 @@
 endif
 
 config SPEAKUP_DEFAULT
+	depends on SPEAKUP
 	string "Choose Default synthesizer for Speakup"
 	default "none"
 
</pre></body></html>