changeset 728:171f42746b88

Fix detection of COMI style libSIDPlay2 API after semi-recent changes in libSIDPlay2's CVS version.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Oct 2009 14:54:33 +0300
parents 369c1f4414e2
children 92c284766c49
files configure.ac
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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([