Bug 1247056 - Expose MOZ_PULSEAUDIO #define - r=jwwang
☠☠ backed out by 2ae91c5e5354 ☠ ☠
authorGerald Squelart <gsquelart@mozilla.com>
Wed, 07 Sep 2016 23:49:13 -0700
changeset 315132 0ce3c5cb6e6a629a98520c841919b04748fc9f2b
parent 315131 01aa7f5bde71d0a0c87889b6642ebbe8c6dbf498
child 315133 344a41f87a2305a236be6dc13064f7ce030a5da6
push idunknown
push userunknown
push dateunknown
reviewersjwwang
bugs1247056
milestone52.0a1
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