aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-08-26 09:24:25 +0200
committerReinhard Tartler <siretart@tauware.de>2011-08-26 09:24:25 +0200
commit7c0fb2e980af93923f2071e1af087010962e06bd (patch)
tree622e5a8f57901f9f6dbccec081766c29cffbf08e /plugins.m4
parent181cec4348da40331b3e8ab365732c025ec149b2 (diff)
downloadlcd4linux-7c0fb2e980af93923f2071e1af087010962e06bd.tar.gz
Import upstream version 0.11.0~svn1158
Diffstat (limited to 'plugins.m4')
-rw-r--r--plugins.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins.m4 b/plugins.m4
index b31a7a5..8866a74 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -1,4 +1,4 @@
-dnl $Id: plugins.m4 1096 2010-01-28 17:19:58Z michael $
+dnl $Id: plugins.m4 1149 2011-07-27 02:36:25Z michael $
dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/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)
@@ -568,7 +568,7 @@ fi
# WLAN
if test "$PLUGIN_WIRELESS" = "yes"; then
- AC_CHECK_HEADERS(linux/wireless.h, [has_wireless_header="true"], [has_wireless_header="false"])
+ AC_CHECK_HEADERS(linux/wireless.h, [has_wireless_header="true"], [has_wireless_header="false"], [#include <sys/socket.h>])
if test "$has_wireless_header" = "true"; then
PLUGINS="$PLUGINS plugin_wireless.o"
AC_DEFINE(PLUGIN_WIRELESS,1,[wireless plugin])