Don't fail if we don't have ALSA available
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40949
This commit is contained in:
parent
6be22e6739
commit
bc515ab0b8
2 changed files with 17 additions and 18 deletions
|
@ -282,8 +282,7 @@ CheckALSA()
|
|||
[ --enable-alsa support the ALSA audio API [default=yes]],
|
||||
, enable_alsa=yes)
|
||||
if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
|
||||
have_alsa=no
|
||||
AM_PATH_ALSA(0.9.0, have_alsa=yes)
|
||||
AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
|
||||
if test x$have_alsa = xyes; then
|
||||
AC_ARG_ENABLE(alsa-shared,
|
||||
[ --enable-alsa-shared dynamically load ALSA audio support [default=yes]],
|
||||
|
@ -364,9 +363,8 @@ CheckESD()
|
|||
[ --enable-esd support the Enlightened Sound Daemon [default=yes]],
|
||||
, enable_esd=yes)
|
||||
if test x$enable_audio = xyes -a x$enable_esd = xyes; then
|
||||
use_esd=no
|
||||
AM_PATH_ESD(0.2.8, use_esd=yes)
|
||||
if test x$use_esd = xyes; then
|
||||
AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
|
||||
if test x$have_esd = xyes; then
|
||||
AC_ARG_ENABLE(esd-shared,
|
||||
[ --enable-esd-shared dynamically load ESD audio support [default=yes]],
|
||||
, enable_esd_shared=yes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue