festival: needs C++ support
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Oct 2009 09:51:47 +0000 (11:51 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Oct 2009 09:51:47 +0000 (11:51 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/festival/Config.in

index 0c681d110bf1935bc81038d1f5e4139e45b47914..2be32f9e7556281c0ee6ecad6ef1cbe539b7c594 100644 (file)
@@ -1,9 +1,10 @@
 menuconfig BR2_PACKAGE_FESTIVAL
-bool "festival text-to-speech system"
-select BR2_PACKAGE_ALSA_LIB
-select BR2_PACKAGE_SPEECH_TOOLS
-help
-       Text to speech system for Linux
+       bool "festival text-to-speech system"
+       depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_ALSA_LIB
+       select BR2_PACKAGE_SPEECH_TOOLS
+       help
+         Text to speech system for Linux
 
 if BR2_PACKAGE_FESTIVAL
 
@@ -20,3 +21,6 @@ if BR2_PACKAGE_FESTIVAL
        endmenu
 
 endif
+
+comment "festival requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP