Code

ncmpc.1: remove double-spaces (" ")
[ncmpc.git] / configure.ac
index fff8b5112db6243d315a57f7c1ea9b6d58718b87..30951377def0d6809c3e703196933bd57a4884ff 100644 (file)
@@ -76,6 +76,8 @@ mingw32* | windows*)
                [AC_CHECK_LIB([nsl],[gethostbyname],[LIBS="$LIBS -lnsl"],
                [AC_MSG_ERROR(No UNIX gethostbyname API found)])
                ])
+
+       HAVE_WINDOWS=0
 esac
 AM_CONDITIONAL([HAVE_WINDOWS], [test $HAVE_WINDOWS -eq 1])
 
@@ -325,7 +327,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 +361,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