Commit c13cecc0 authored by Max Kellermann's avatar Max Kellermann

configure.ac: automatically detect the sidplay decoder

Set sidplay to "auto" by default, and enable it when it's found.
parent 6e6917ac
...@@ -473,10 +473,10 @@ AC_ARG_WITH(tremor-includes, ...@@ -473,10 +473,10 @@ AC_ARG_WITH(tremor-includes,
AC_ARG_ENABLE(sidplay, AC_ARG_ENABLE(sidplay,
AS_HELP_STRING([--enable-sidplay], AS_HELP_STRING([--enable-sidplay],
[enable C64 SID support via libsidplay2 (default: disable)]),, [enable C64 SID support via libsidplay2]),,
enable_sidplay=no) enable_sidplay=auto)
if test x$enable_sidplay = xyes; then if test x$enable_sidplay != xno; then
# we're not using pkg-config here # we're not using pkg-config here
# because libsidplay2's .pc file requires libtool # because libsidplay2's .pc file requires libtool
AC_HAVE_LIBRARY(sidplay2, [found_sidplay=yes], [found_sidplay=no]) AC_HAVE_LIBRARY(sidplay2, [found_sidplay=yes], [found_sidplay=no])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment