Skip to content
Snippets Groups Projects
Commit 83adf0f3 authored by Stan Seibert's avatar Stan Seibert
Browse files

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
parent 3891f432
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment