[Spice-devel] [PATCH 5/4] Fix snappy detection with newer spice-gtk

Marc-André Lureau mlureau at redhat.com
Thu Dec 12 02:10:56 PST 2013



----- Original Message -----
> It was renamed to spicy-screenshot
> ---
> 
> Hey,
> 
> I missed this patch when sending the 'fix make distcheck' series, but
> I have pushed it already as I thought it was part of what was ACKed..

it's not such a good idea to check for snappy, since we renamed it because another program had that name...

>  configure.ac | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 882bf1b..db4fd89 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -404,11 +404,11 @@ AC_SUBST([SASL_CFLAGS])
>  AC_SUBST([SASL_LIBS])
>  
>  if test "x$enable_automated_tests" = "xyes"; then
> -    AC_MSG_CHECKING([for snappy])
> -    snappy --help >/dev/null 2>&1
> +    AC_MSG_CHECKING([for snappy/spicy-screenshot])
> +    snappy --help >/dev/null 2>&1 || spicy-screenshot --help >/dev/null 2>&1
>      if test $? -ne 0 ; then
>          AC_MSG_RESULT([not found])
> -        AC_MSG_ERROR([snappy was not found, this module is part of spice-gtk
> andis required to compile this package])
> +        AC_MSG_ERROR([snappy/spicy-screenshot was not found, this module is
> part of spice-gtk and is required to compile this package])
>      fi
>      AC_MSG_RESULT([found])
>  fi
> --
> 1.8.4.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list