Hi,

minor change to configure.ac - when libsidplayfp is in use there is no
need for resid-builder.


diff --git a/configure.ac b/configure.ac
index cd7f23aa3..e458eae3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -401,7 +401,7 @@ AC_ARG_ENABLE(recorder-output,

 AC_ARG_ENABLE(sidplay,
        AS_HELP_STRING([--enable-sidplay],
-               [enable C64 SID support via libsidplay2]),,
+               [enable C64 SID support via libsidplay2 or libsidplayfp]),,
        enable_sidplay=auto)

 AC_ARG_ENABLE(shout,
@@ -1012,10 +1012,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 libsidplay2 support])
+       AC_DEFINE(ENABLE_SIDPLAY, 1, [Define for libsidplay2 and
libsidplayfp 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


Best regards,
jr.

_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to