# HG changeset patch # User Matti Hamalainen # Date 1256212473 -10800 # Node ID 171f42746b887fbd04d408155e5f00b0e58074f0 # Parent 369c1f4414e22a8ab1f56b6906288da34e450b65 Fix detection of COMI style libSIDPlay2 API after semi-recent changes in libSIDPlay2's CVS version. diff -r 369c1f4414e2 -r 171f42746b88 configure.ac --- a/configure.ac Thu Oct 22 14:53:14 2009 +0300 +++ b/configure.ac Thu Oct 22 14:54:33 2009 +0300 @@ -117,9 +117,13 @@ if test -d "$xs_sidplay2_includes"; then CPPFLAGS="$CPPFLAGS -I${xs_sidplay2_includes}" fi - AC_EGREP_HEADER([SIDIID], [sidplay/sidplay2.h], + AC_EGREP_HEADER([::Iid], [sidplay/sidplay2.h], [xs_have_sidplay2_api="yes"], - [xs_have_sidplay2_api="(old style API)"] + [ + AC_EGREP_HEADER([SIDIID], + [xs_have_sidplay2_api="yes"], + [xs_have_sidplay2_api="(old style API)"]) + ] ) if test "x$xs_have_sidplay2_api" = "xyes"; then AC_LINK_IFELSE([