mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
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:
parent
cceabc8733
commit
13e2e375ef
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue