3 AC_DEFUN([GST_PATH_SIDPLAY],
5 AC_MSG_CHECKING([for libsidplay 1.36.x])
9 AC_CHECK_HEADER(sidplay/player.h, HAVE_SIDPLAY="yes", HAVE_SIDPLAY="no")
11 if test $HAVE_SIDPLAY = "yes"; then
12 SIDPLAY_LIBS="-lsidplay"
14 AC_MSG_CHECKING([whether -lsidplay works])
20 #include <sidplay/player.h>
22 { sidTune tune = sidTune(0); }
30 AC_MSG_RESULT([$HAVE_SIDPLAY])
34 SIDPLAY_LIBS="-lsidplay"
35 AC_SUBST(SIDPLAY_CFLAGS)
36 AC_SUBST(SIDPLAY_LIBS)