[Spice-devel] [PATCH spice 1/3] build-sys: define GL flags if enabled

Alon Levy alevy at redhat.com
Mon Jul 16 08:02:20 PDT 2012


On Mon, Jul 16, 2012 at 04:17:24PM +0200, Marc-André Lureau wrote:
> The server too can use opengl, independently from client.

ACK series.

> ---
>  configure.ac |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 8f9474e..75a062c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -272,7 +272,7 @@ SPICE_REQUIRES+=" openssl"
>  # AC_SUBST(GL_LIBS)
>  # SPICE_REQUIRES+=" gl glu"
>  
> -if test "x$enable_opengl" = "xyes" && test "x$enable_client" = "xyes" ; then
> +if test "x$enable_opengl" = "xyes"; then
>     AC_CHECK_LIB(GL, glBlendFunc, GL_LIBS="$GL_LIBS -lGL", enable_opengl=no)
>     AC_CHECK_LIB(GLU, gluSphere, GL_LIBS="$GL_LIBS -lGLU", enable_opengl=no)
>     AC_DEFINE([USE_OPENGL], [1], [Define to build with OpenGL support])
> -- 
> 1.7.10.4
> 
> _______________________________________________
> 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