[Spice-commits] configure.ac

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Sep 1 21:06:04 UTC 2017


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e6cf0dd0569f1f05257ae84d57c68239b6f68b70
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Aug 31 23:09:09 2017 +0100

    build-sys: Fix syntax-check
    
    This error was reported
    
    configure.ac:119:if test "x$have_gstreamer_0_10" = "xyes" -o "x$have_gstreamer_1_0" = "xyes"; then
    maint.mk: use "test C1 && test C2", not "test C1 -a C2"; use "test C1 || test C2", not "test C1 -o C2"
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/configure.ac b/configure.ac
index f80193b3..7d8afd57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ AS_IF([test x"$missing_gstreamer_elements" = xyes],
     [SPICE_WARNING([The GStreamer video encoder can be built but may not work.])
 ])
 
-if test "x$have_gstreamer_0_10" = "xyes" -o "x$have_gstreamer_1_0" = "xyes"; then
+if test "x$have_gstreamer_0_10" = "xyes" || test "x$have_gstreamer_1_0" = "xyes"; then
     PKG_CHECK_MODULES(ORC, orc-0.4)
     AC_SUBST(ORC_CFLAGS)
     AC_SUBST(ORC_LIBS)


More information about the Spice-commits mailing list