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.
This commit is contained in:
Max Kellermann 2009-02-11 22:05:46 +01:00
parent 1136f6fb7a
commit de2e13cafe

View File

@ -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)