aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8024b0775..e4f289585 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,9 +23,13 @@ EXTRA_DIST = \
# lyrics plugins
#
+if LYRICS
+
lyrics_plugin_dir = @lyrics_plugin_dir@
lyrics_plugins = hd.py leoslyrics.py lyricswiki.rb
install-exec-local:
install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir)
install -m 0755 $(addprefix lyrics/,$(lyrics_plugins)) $(DESTDIR)$(lyrics_plugin_dir)
+
+endif
diff --git a/configure.ac b/configure.ac
index 681a80ac9..4084efd2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,6 +254,8 @@ if test "x$lyrics_screen" != "xyes" ; then
lyrics_screen=no
fi
+AM_CONDITIONAL(LYRICS, test x$lyrics_screen = xyes)
+
AC_MSG_RESULT([$lyrics_screen])
AC_ARG_WITH([lyrics-plugin-dir],