Fix ALSA check; was overwriting the ALSA_CFLAGS and ALSA_LIBS variables determined for alsa 0.5 with the ones from th...

Original commit message from CVS:
Fix ALSA check; was overwriting the ALSA_CFLAGS and ALSA_LIBS variables
determined for alsa 0.5 with the ones from the check that alsa 0.9 wasn't
there.  Now does the 0.9 check first, to avoid this problem.
This commit is contained in:
Richard Boulton 2001-06-28 18:35:51 +00:00
parent cceabc8733
commit 13e2e375ef

View file

@ -301,8 +301,14 @@ GST_CHECK_FEATURE(LIBXMMS, [xmms plugin], xmms, [
dnl Check for alsa
GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
AM_PATH_ALSA(0.5.0, HAVE_ALSA=yes, HAVE_ALSA=no)
HAVE_ALSA=yes
AM_PATH_ALSA(0.9.0, HAVE_ALSA=no; AC_MSG_WARN(Alsa 0.9.x not yet supported),:)
if test x$HAVE_ALSA = xno; then
ALSA_CFLAGS=
ALSA_LIBS=
else
AM_PATH_ALSA(0.5.0, :, HAVE_ALSA=no)
fi
])
dnl Check for libaudiofile