X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.ac;h=30951377def0d6809c3e703196933bd57a4884ff;hb=b05838b7a0596663f61748a4f0fdd3948c279b29;hp=fff8b5112db6243d315a57f7c1ea9b6d58718b87;hpb=00ab3aa22139066ead2bb998dbdaffeab41f22e8;p=ncmpc.git diff --git a/configure.ac b/configure.ac index fff8b51..3095137 100644 --- a/configure.ac +++ b/configure.ac @@ -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