Bug 1247056 - Don't default-enable alsa on Linux - r=kentuckyfriedtakahe
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 05 Sep 2016 18:18:50 -0700
changeset 315329 541ae26e38e5
parent 315328 93bc88233717
child 315330 287d078fc307
push id32585
push usergsquelart@mozilla.com
push dateTue, 27 Sep 2016 12:36:35 +0000
treeherderautoland@a540a043466d [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