diff options
author | Jan Beich <jbeich@tormail.org> | 2014-01-13 09:50:36 +0100 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-07-26 12:03:01 +0000 |
commit | 1e24b3d4f3f539056ec7ad2bd7beb3923a7b681c (patch) | |
tree | 9947aef7826d0355800280d055e7a76db55d031b /configure.in | |
parent | e9ee4f5cdb4f1b8453da17ec47b6455c61c8a481 (diff) | |
download | palemoon-gre-1e24b3d4f3f539056ec7ad2bd7beb3923a7b681c.tar.gz |
Bug 952828 - Enable PulseAudio and GStreamer on more XP_UNIX platforms by default. r=glandium
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/configure.in b/configure.in index adfdd3ae5..3adfd3272 100644 --- a/configure.in +++ b/configure.in @@ -5551,9 +5551,16 @@ dnl = Disable PulseAudio dnl ======================================================== dnl If using libcubeb with Linux, ensure that the PA library is available -if test -n "$MOZ_CUBEB" -a "$OS_TARGET" = "Linux" -a -z "$MOZ_B2G"; then - MOZ_PULSEAUDIO=1 -fi +case "$OS_TARGET" in +WINNT|Darwin|Android|OpenBSD) + ;; +*) + if test -n "$MOZ_CUBEB" -a -z "$MOZ_B2G"; then + MOZ_PULSEAUDIO=1 + fi + ;; +esac + MOZ_ARG_DISABLE_BOOL(pulseaudio, [ --disable-pulseaudio Disable PulseAudio support], MOZ_PULSEAUDIO=, @@ -5576,10 +5583,14 @@ AC_SUBST(MOZ_PULSEAUDIO_CFLAGS) dnl ======================================================== dnl = Enable GStreamer dnl ======================================================== -if test "$OS_TARGET" = "Linux"; then - MOZ_GSTREAMER=1 - GST_API_VERSION=1.0 -fi +case "$OS_TARGET" in +WINNT|Darwin|Android) + ;; +*) + MOZ_GSTREAMER=1 + GST_API_VERSION=1.0 + ;; +esac MOZ_ARG_ENABLE_STRING(gstreamer, [ --enable-gstreamer[=0.10] Enable GStreamer support], |