Code

configure.ac: screen_chat needs screen_text
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 4 Jan 2012 17:33:30 +0000 (18:33 +0100)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 23 May 2012 01:50:28 +0000 (03:50 +0200)
configure.ac

index fff8b5112db6243d315a57f7c1ea9b6d58718b87..01f88cf0907632a878554e941bd01ea1dce59737 100644 (file)
@@ -325,7 +325,6 @@ AC_DEFINE_UNQUOTED([LYRICS_PLUGIN_DIR], ["$lyrics_plugin_dir"],
 AC_SUBST(lyrics_plugin_dir)
 
 AM_CONDITIONAL(ENABLE_PLUGIN_LIBRARY, test x$enable_lyrics_screen = xyes)
-AM_CONDITIONAL(ENABLE_SCREEN_TEXT, test x$enable_lyrics_screen = xyes)
 
 dnl Optional screen - outputs
 AC_MSG_CHECKING([whether to include the outputs screen])
@@ -360,6 +359,8 @@ if test "x$enable_chat_screen" = "xyes" ; then
 fi
 AM_CONDITIONAL(ENABLE_CHAT_SCREEN, test x$enable_chat_screen = xyes)
 
+AM_CONDITIONAL(ENABLE_SCREEN_TEXT,
+       test x$enable_lyrics_screen = xyes -o x$enable_chat_screen = xyes)
 
 dnl
 dnl Windows OS Resource File