From 52c3fb03b7e78b064f382390677c96b501c648a2 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 16 Jul 2012 15:09:09 +0200 Subject: build-sys: define GL flags if enabled The server too can use opengl, independently from client. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8f9474ed..75a062c2 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]) -- cgit