[Spice-devel] [PATCH spice-gtk 2/2] configure: Do not force audio by default
Pavel Grunt
pgrunt at redhat.com
Fri Jun 12 03:24:04 PDT 2015
Disable audio if no backend is available and configure is used with
the option '--with-audio=auto'
---
configure.ac | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1156856..6af968f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -308,10 +308,14 @@ esac
AS_IF([test "x$with_audio" = "xauto"],
[AS_IF([test "x$os_win32" = "xyes"],
- [with_audio=gstreamer],
+ [AS_IF([test "x$have_gst" = "xyes"],
+ [with_audio=gstreamer],
+ [with_audio=no])],
[AS_IF([test "x$have_pulse" = "xyes"],
[with_audio=pulse],
- [with_audio=gstreamer])])])
+ [AS_IF([test "x$have_gst" = "xyes"],
+ [with_audio=gstreamer],
+ [with_audio=no])])])])
AS_IF([test "x$have_pulse" = "xyes"],
[AC_DEFINE([WITH_PULSE], 1, [Have pulseaudio?])],
--
2.4.3
More information about the Spice-devel
mailing list