aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 02:36:25 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 02:36:25 +0000
commit48ea1dd640e3bce5eae985ca542b7ef4d543bc6b (patch)
treeb73d8b1263c751369750fac503e8d6085b57c494 /plugins.m4
parent22169050ad234f868ff030d49964673e0a5ba8b1 (diff)
downloadlcd4linux-48ea1dd640e3bce5eae985ca542b7ef4d543bc6b.tar.gz
patch to replace outdate library libmpd with recent library libmpdclient from Andreas Brachold
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1149 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins.m4 b/plugins.m4
index 354b4bc..ee32208 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -410,11 +410,11 @@ fi
# MPD
if test "$PLUGIN_MPD" = "yes"; then
- AC_CHECK_LIB(libmpd, [mpd_newConnection], [has_mpd_header="true"], [has_mpd_header="false"])
+ AC_CHECK_LIB(mpdclient, [mpd_connection_new], [has_mpd_header="true"], [has_mpd_header="false"])
if test "$has_mpd_header" = "true"; then
PLUGINS="$PLUGINS plugin_mpd.o"
- PLUGINLIBS="$PLUGINLIBS `pkg-config libmpd --libs`"
- CPPFLAGS="$CPPFLAGS `pkg-config libmpd --cflags`"
+ PLUGINLIBS="$PLUGINLIBS `pkg-config libmpdclient --libs`"
+ CPPFLAGS="$CPPFLAGS `pkg-config libmpdclient --cflags`"
AC_DEFINE(PLUGIN_MPD,1,[mpd plugin])
else
AC_MSG_WARN(libmpdclient.h header not found: mpd plugin disabled)