Bug 747303 - Android/x86 shouldn't check ALSA. r=khuey

This commit is contained in:
Makoto Kato 2012-04-27 17:07:40 +09:00
parent 3b1d9d8589
commit bdc7f34c72

View File

@ -5835,14 +5835,10 @@ dnl = Check alsa availability on Linux if using sydneyaudio
dnl ========================================================
dnl If using sydneyaudio with Linux, ensure that the alsa library is available
if test -n "$MOZ_SYDNEYAUDIO"; then
case "$target_os" in
linux*)
PKG_CHECK_MODULES(MOZ_ALSA, alsa, ,
if test -n "$MOZ_SYDNEYAUDIO" -a "$OS_TARGET" = "Linux"; then
PKG_CHECK_MODULES(MOZ_ALSA, alsa, ,
[echo "$MOZ_ALSA_PKG_ERRORS"
AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])])
;;
esac
fi
dnl ========================================================