From fe865b67123c9f44741c28c3bf546737b469311c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 13 Jan 2014 09:50:36 +0100 Subject: [PATCH] Bug 952828 - Enable PulseAudio and GStreamer on more XP_UNIX platforms by default. r=glandium --- configure.in | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 8ff642535ff..736ccf77248 100644 --- a/configure.in +++ b/configure.in @@ -5592,9 +5592,15 @@ dnl = Disable PulseAudio dnl ======================================================== dnl If using Linux, ensure that the PA library is available -if test "$OS_TARGET" = "Linux" -a -z "$MOZ_B2G"; then - MOZ_PULSEAUDIO=1 -fi +case "$OS_TARGET" in +WINNT|Darwin|Android|OpenBSD) + ;; +*) + if test -z "$MOZ_B2G"; then + MOZ_PULSEAUDIO=1 + fi + ;; +esac MOZ_ARG_DISABLE_BOOL(pulseaudio, [ --disable-pulseaudio Disable PulseAudio support], @@ -5617,9 +5623,13 @@ AC_SUBST(MOZ_PULSEAUDIO_CFLAGS) dnl ======================================================== dnl = Enable GStreamer dnl ======================================================== -if test "$OS_TARGET" = "Linux"; then - MOZ_GSTREAMER=1 -fi +case "$OS_TARGET" in +WINNT|Darwin|Android) + ;; +*) + MOZ_GSTREAMER=1 + ;; +esac MOZ_ARG_ENABLE_BOOL(gstreamer, [ --enable-gstreamer Enable GStreamer support],