Mercurial > hg > xmms-sid
diff acinclude.m4 @ 795:3e305ce076e8
Make old libSIDPlay2 support work again, the one available in most distros, such as Debian.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 07 Nov 2012 11:05:24 +0200 |
parents | c7fa50576c70 |
children | 1fe6005ed58c |
line wrap: on
line diff
--- a/acinclude.m4 Wed Nov 07 11:04:34 2012 +0200 +++ b/acinclude.m4 Wed Nov 07 11:05:24 2012 +0200 @@ -228,16 +228,16 @@ fi dnl *** Check for new COMI API - xs_api_ok="no" + xs_api_ok="yes" AC_MSG_CHECKING([libSIDPlay2 API compatibility]) tmp_CPPFLAGS="$CPPFLAGS" if test -d "$xs_sidplay2_includes"; then CPPFLAGS="$CPPFLAGS -I${xs_sidplay2_includes}" fi AC_EGREP_HEADER([::Iid], [sidplay/sidplay2.h], - [xs_have_sidplay2_api="yes"], [ + [xs_api_ok="no"], [ AC_EGREP_HEADER([SIDIID], [sidplay/sidplay2.h], [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sidplay/sidunknown.h>], [ISidUnknown *i;])], [xs_api_ok="yes"], [])]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sidplay/sidunknown.h>], [ISidUnknown *i;])], [xs_api_ok="no"], [])]) ]) if test "x$xs_api_ok" = "xyes"; then