Code

configure.ac: remove redundant libmpdclient version test
authorMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 16:00:55 +0000 (17:00 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 16:00:55 +0000 (17:00 +0100)
configure.ac

index 0f15fd3ea4b6c14db6a3b5fd8a108a202688e5eb..e2791a5b27636a975cbdeae92d5d5750b6d75244 100644 (file)
@@ -106,10 +106,6 @@ dnl Check for libmpdclient 2.9
 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],
@@ -356,13 +352,10 @@ AC_ARG_ENABLE([chat-screen],
                [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)