aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-11 22:05:46 +0100
committerMax Kellermann <max@duempel.org>2009-02-11 22:05:46 +0100
commitde2e13cafe7157fa08893824c4fdbdae343c6d2e (patch)
tree0f9f988e0df28dbc5dee2172d3a8c96bab119521 /configure.ac
parent1136f6fb7a2a6a0a5bfba0dcf99410d1bbf04252 (diff)
downloadmpd-de2e13cafe7157fa08893824c4fdbdae343c6d2e.tar.gz
mpd-de2e13cafe7157fa08893824c4fdbdae343c6d2e.tar.xz
mpd-de2e13cafe7157fa08893824c4fdbdae343c6d2e.zip
configure.ac: define conditional am__fastdepCXX
When the sidplay plugin is disabled, "./configure" does not look for the C++ compiler. This creates an odd situation: automake requires the am__fastdepCXX conditional, although configure did not generate it. Work around this autotools limitation by manually disabling am__fastdepCXX.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f10f3c0c5..8fd2977fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1019,6 +1019,8 @@ if test x$enable_sidplay = xyes; then
AC_SUBST(SIDPLAY_CFLAGS,)
AC_DEFINE(ENABLE_SIDPLAY, 1, [Define for libsidplay2 support]),
+else
+ AM_CONDITIONAL(am__fastdepCXX, false)
fi
AM_CONDITIONAL(ENABLE_SIDPLAY, test x$enable_sidplay = xyes)