Bug 1247056 - Don't default-enable alsa on Linux - r=kentuckyfriedtakahe draft
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 05 Sep 2016 18:18:50 -0700
changeset 417915 927c42fe210e
parent 417914 66a77b9bfe5d
child 417916 69a161898c07
push id30524
push usergsquelart@mozilla.com
push dateTue, 27 Sep 2016 09:30:55 +0000
reviewerskentuckyfriedtakahe
bugs1247056
milestone52.0a1
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