Bug 1247056 - Expose MOZ_PULSEAUDIO #define - r=jwwang
authorGerald Squelart <gsquelart@mozilla.com>
Wed, 07 Sep 2016 23:49:13 -0700
changeset 315330 287d078fc307
parent 315329 541ae26e38e5
child 315331 95aa4314a12c
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)
reviewersjwwang
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 - Expose MOZ_PULSEAUDIO #define - r=jwwang MozReview-Commit-ID: 5QArGhOy82C
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -3279,16 +3279,17 @@ WINNT|Darwin|Android|OpenBSD)
 esac
 
 MOZ_ARG_DISABLE_BOOL(pulseaudio,
 [  --disable-pulseaudio          Disable PulseAudio support],
    MOZ_PULSEAUDIO=,
    MOZ_PULSEAUDIO=1)
 
 if test -n "$MOZ_PULSEAUDIO"; then
+    AC_DEFINE(MOZ_PULSEAUDIO)
     if test -z "$gonkdir"; then
         PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, ,
              [echo "$MOZ_PULSEAUDIO_PKG_ERRORS"
               AC_MSG_ERROR([pulseaudio audio backend requires libpulse development package])])
     else
         MOZ_PULSEAUDIO_CFLAGS="-I$gonkdir/external/pulseaudio/pulseaudio/src"
     fi
 fi