aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-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])