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

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jul 16 07:17:24 PDT 2012


The server too can use opengl, independently from client.
---
 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



More information about the Spice-devel mailing list