summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-07-16 15:09:09 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-07-16 17:36:52 +0200
commit52c3fb03b7e78b064f382390677c96b501c648a2 (patch)
tree4e4a7df8835ef5afb0a720bd2b3462028927bd0b /configure.ac
parentd7968ee5006d769da387301697be83cf341abdfb (diff)
downloadspice-52c3fb03b7e78b064f382390677c96b501c648a2.tar.gz
spice-52c3fb03b7e78b064f382390677c96b501c648a2.tar.xz
spice-52c3fb03b7e78b064f382390677c96b501c648a2.zip
build-sys: define GL flags if enabled
The server too can use opengl, independently from client.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])