From 83adf0f35225f089fca717b204e7a565b9b48188 Mon Sep 17 00:00:00 2001 From: Stan Seibert <volsung@xiph.org> Date: Fri, 10 Aug 2001 00:30:11 +0000 Subject: [PATCH] Changed ALSA test so it will work with 0.5 API and not 0.9 API (currently unsupported). git-svn-id: http://svn.xiph.org/trunk/ao@1717 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index cad50e7..3fb8c53 100644 --- a/configure.in +++ b/configure.in @@ -151,7 +151,7 @@ AC_ARG_ENABLE(alsa, [ --enable-alsa include alsa 0.5 output plugin ], [ BUILD_ALSA="$enableval" ],[ BUILD_ALSA="yes" ]) if test "$BUILD_ALSA" = "yes"; then - AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no) + AC_CHECK_LIB(asound, snd_pcm_channel_params, have_alsa=yes, have_alsa=no) AC_CHECK_HEADER(sys/asoundlib.h, , have_alsa=no) AM_CONDITIONAL(HAVE_ALSA,test "x$have_alsa" = xyes) fi -- GitLab