[Spice-devel] [PATCH 1/3] autotools: Add automake conditional for gstreamer

Snir Sheriber ssheribe at redhat.com
Sun Jan 15 16:12:20 UTC 2017


Adding conditional for having gstreamer_0_10 or gstreamer_1_0
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index a78b4ec..f95239b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,7 @@ if test "x$enable_gstreamer" != "xno" && test "x$enable_gstreamer" != "x1.0"; th
     ])
 fi
 AM_CONDITIONAL(HAVE_GSTREAMER_0_10, test "x$have_gstreamer_0_10" = "xyes")
+AM_CONDITIONAL(HAVE_GSTREAMER, test "x$have_gstreamer_0_10" = "xyes" || test "x$have_gstreamer_1_0" = "xyes")
 
 AS_IF([test "x$enable_gstreamer" = "xyes"],
       [AC_MSG_ERROR("GStreamer support requested but not found")],
-- 
2.9.3



More information about the Spice-devel mailing list