diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-08-26 09:24:25 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-08-26 09:24:25 +0200 |
commit | 7c0fb2e980af93923f2071e1af087010962e06bd (patch) | |
tree | 622e5a8f57901f9f6dbccec081766c29cffbf08e /plugins.m4 | |
parent | 181cec4348da40331b3e8ab365732c025ec149b2 (diff) | |
download | lcd4linux-7c0fb2e980af93923f2071e1af087010962e06bd.tar.gz |
Import upstream version 0.11.0~svn1158
Diffstat (limited to 'plugins.m4')
-rw-r--r-- | plugins.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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]) |