Bug 1247056 - Expose MOZ_PULSEAUDIO #define - r=jwwang draft
authorGerald Squelart <gsquelart@mozilla.com>
Wed, 07 Sep 2016 23:49:13 -0700
changeset 417916 69a161898c07
parent 417915 927c42fe210e
child 417917 f3bd7a7f0b0b
push id30524
push usergsquelart@mozilla.com
push dateTue, 27 Sep 2016 09:30:55 +0000
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