summaryrefslogtreecommitdiffstats
path: root/m4
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 /m4
parentf77805773f1cee4164569ecd92838cead36aac22 (diff)
downloadspice-common-d8c3568a3160aa3dfcd1d3b7728360c33d2d6911.tar.gz
spice-common-d8c3568a3160aa3dfcd1d3b7728360c33d2d6911.tar.xz
spice-common-d8c3568a3160aa3dfcd1d3b7728360c33d2d6911.zip
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/spice-deps.m44
1 files changed, 2 insertions, 2 deletions
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)