summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-14 10:45:20 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-10-23 14:05:39 +0200
commitd8c3568a3160aa3dfcd1d3b7728360c33d2d6911 (patch)
treeb50b21aad3bb48a64a47940dd1a270a179f75f11
parentf77805773f1cee4164569ecd92838cead36aac22 (diff)
build-sys: Rename SUPPORT_GL to HAVE_GL
The other conditionals are using the HAVE_ prefix, using HAVE_GL rather than SUPPORT_GL improves consistency.
-rw-r--r--common/Makefile.am2
-rw-r--r--m4/spice-deps.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 2be512c..7382509 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -79,7 +79,7 @@ libspice_common_server_la_SOURCES = \
libspice_common_server_la_CFLAGS = -DFIXME_SERVER_SMARTCARD
-if SUPPORT_GL
+if HAVE_GL
libspice_common_la_SOURCES += \
gl_utils.h \
glc.c \
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 2ebdb23..59744d2 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -103,7 +103,7 @@ AC_DEFUN([SPICE_CHECK_OPUS], [
# support, and checks if the needed libraries are available. If found, it will
# return the flags to use in the GL_CFLAGS and GL_LIBS variables, and
# it will define USE_OPENGL and GL_GLEXT_PROTOTYPES preprocessor symbol as well
-# as a SUPPORT_GL Makefile conditional.
+# as a HAVE_GL Makefile conditional.
# ------------------
AC_DEFUN([SPICE_CHECK_OPENGL], [
AC_ARG_ENABLE([opengl],
@@ -111,7 +111,7 @@ AC_DEFUN([SPICE_CHECK_OPENGL], [
[Enable opengl support (not recommended) @<:@default=no@:>@]),
[],
[enable_opengl="no"])
- AM_CONDITIONAL(SUPPORT_GL, test "x$enable_opengl" = "xyes")
+ AM_CONDITIONAL(HAVE_GL, test "x$enable_opengl" = "xyes")
if test "x$enable_opengl" = "xyes"; then
AC_CHECK_LIB(GL, glBlendFunc, GL_LIBS="$GL_LIBS -lGL", enable_opengl=no)