From de2e13cafe7157fa08893824c4fdbdae343c6d2e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Feb 2009 22:05:46 +0100 Subject: [PATCH] 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. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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)