summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b8c83a3e..5f805f9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -279,8 +279,10 @@ if test "x$enable_pulseaudio" != "xno"; then
fi
dnl lastfm plugin
-if test "x$HAVE_CURL" = "xyes" && test "x$enable_lastfm" != "xno" ; then
- HAVE_LASTFM=yes
+if test "x$enable_lfm" != "xno" ; then
+ if test "x$HAVE_CURL" = "xyes" && test "x$enable_lastfm" != "xno" ; then
+ HAVE_LASTFM=yes
+ fi
fi
if test "x$enable_artwork" != "xno" ; then