mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-06 20:37:02 +00:00
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.
This commit is contained in:
parent
f77805773f
commit
d8c3568a31
@ -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 \
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user