summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1018063)
raw | patch | inline | side by side (parent: 1018063)
author | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 16:00:55 +0000 (17:00 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 16:00:55 +0000 (17:00 +0100) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 0f15fd3ea4b6c14db6a3b5fd8a108a202688e5eb..e2791a5b27636a975cbdeae92d5d5750b6d75244 100644 (file)
--- a/configure.ac
+++ b/configure.ac
PKG_CHECK_MODULES([LIBMPDCLIENT], [libmpdclient >= 2.9],,
[AC_MSG_ERROR([libmpdclient2 is required])])
-dnl Check for libmpdclient 2.5 (the chat screen requires this version)
-PKG_CHECK_EXISTS([libmpdclient >= 2.5],
- [have_libmpdclient_2_5=yes], [have_libmpdclient_2_5=no])
-
dnl i18n
AC_ARG_ENABLE([locale],
[Enable chat screen @<:@default=no@:>@]),,
[enable_chat_screen=no])
if test "x$enable_chat_screen" = "xauto"; then
- enable_chat_screen=$have_libmpdclient_2_5
+ enable_chat_screen=yes
fi
AC_MSG_RESULT([$enable_chat_screen])
if test "x$enable_chat_screen" = "xyes" ; then
- if test "x$have_libmpdclient_2_5" = "xno"; then
- AC_MSG_ERROR(The chat screen requires at least libmpclient 2.5)
- fi
AC_DEFINE(ENABLE_CHAT_SCREEN, 1, [Enable chat screen])
fi
AM_CONDITIONAL(ENABLE_CHAT_SCREEN, test x$enable_chat_screen = xyes)