소스 검색

festival: needs C++ support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 16 년 전
부모
커밋
fa324fb8bc
1개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 9 5
      package/multimedia/festival/Config.in

+ 9 - 5
package/multimedia/festival/Config.in

@@ -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