Bug 1247056 - Don't default-enable alsa on Linux - r=kentuckyfriedtakahe
☠☠ backed out by b4cae9fb786b ☠ ☠
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 05 Sep 2016 18:18:50 -0700
changeset 315286 511ed53eee9a2febeeba4d5496de42d03f25dc28
parent 315285 9fec8d313c491cd8437315a30079fd200ddde3ee
child 315287 63094a80bee7a7994b0c9d16da0f069e3657fb33
push idunknown
push userunknown
push dateunknown
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