diff --git a/configure.ac b/configure.ac index 71b7eee77..6eb5f50b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1017,10 +1017,11 @@ if test x$enable_sidplay != xno && test x$found_sidplayfp = xno; then fi if test x$enable_sidplay = xyes; then - SIDPLAY_LIBS="$SIDPLAY_LIBS -lresid-builder" AC_DEFINE(ENABLE_SIDPLAY, 1, [Define for libsidplayfp or libsidplay2 support]) if test x$found_sidplayfp = xyes; then AC_DEFINE(HAVE_SIDPLAYFP, 1, [Define if libsidplayfp is used instead of libsidplay2]) + else + SIDPLAY_LIBS="$SIDPLAY_LIBS -lresid-builder" fi fi