Bug 1247056 - Don't default-enable alsa on Linux - r=kentuckyfriedtakahe
☠☠ backed out by 2ae91c5e5354 ☠ ☠
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 05 Sep 2016 18:18:50 -0700
changeset 315146 01aa7f5bde71d0a0c87889b6642ebbe8c6dbf498
parent 315145 52459cfd15765aa82ff26501b9c1a56272d49f0d
child 315147 0ce3c5cb6e6a629a98520c841919b04748fc9f2b
push id32563
push userihsiao@mozilla.com
push dateMon, 26 Sep 2016 11:18:33 +0000
treeherderautoland@eb840c87b5fd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskentuckyfriedtakahe
bugs1247056
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1247056 - Don't default-enable alsa on Linux - r=kentuckyfriedtakahe MozReview-Commit-ID: 8jC6JGrdlE1
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -3247,23 +3247,18 @@ fi
 MOZ_WEBM_ENCODER=1
 AC_DEFINE(MOZ_WEBM_ENCODER)
 AC_SUBST(MOZ_WEBM_ENCODER)
 
 dnl ==================================
 dnl = Check alsa availability on Linux
 dnl ==================================
 
-dnl If using Linux, ensure that the alsa library is available
-if test "$OS_TARGET" = "Linux"; then
-    MOZ_ALSA=1
-fi
-
 MOZ_ARG_ENABLE_BOOL(alsa,
-[  --enable-alsa          Enable Alsa support (default on Linux)],
+[  --enable-alsa          Enable Alsa support],
    MOZ_ALSA=1,
    MOZ_ALSA=)
 
 if test -n "$MOZ_ALSA"; then
     PKG_CHECK_MODULES(MOZ_ALSA, alsa, ,
          [echo "$MOZ_ALSA_PKG_ERRORS"
           AC_MSG_ERROR([Need alsa for audio output on Linux. (On Ubuntu, you might try installing the package libasound2-dev.)])])
 fi