mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-21 03:58:10 +02:00
[build] Add a default message for when GLEW isn't built
And it appears I touched the build system again and autoregenerated the feature headers.
This commit is contained in:
parent
6d4f3c40ef
commit
9c2790ccc4
5 changed files with 4 additions and 19 deletions
|
|
@ -169,14 +169,6 @@ enabled_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
|
|||
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_png_sources)
|
||||
endif
|
||||
|
||||
supported_cairo_boilerplate_headers += $(cairo_boilerplate_glew_headers)
|
||||
all_cairo_boilerplate_headers += $(cairo_boilerplate_glew_headers)
|
||||
all_cairo_boilerplate_private += $(cairo_boilerplate_glew_private)
|
||||
all_cairo_boilerplate_sources += $(cairo_boilerplate_glew_sources)
|
||||
enabled_cairo_boilerplate_headers += $(cairo_boilerplate_glew_headers)
|
||||
enabled_cairo_boilerplate_private += $(cairo_boilerplate_glew_private)
|
||||
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_glew_sources)
|
||||
|
||||
unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
|
||||
all_cairo_boilerplate_headers += $(cairo_boilerplate_gl_headers)
|
||||
all_cairo_boilerplate_private += $(cairo_boilerplate_gl_private)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ endif
|
|||
ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)
|
||||
@echo "#define CAIRO_HAS_PNG_FUNCTIONS 1" >> src/cairo-features.h
|
||||
endif
|
||||
@echo "#define CAIRO_HAS_GLEW_FUNCTIONS 1" >> src/cairo-features.h
|
||||
ifeq ($(CAIRO_HAS_GL_SURFACE),1)
|
||||
@echo "#define CAIRO_HAS_GL_SURFACE 1" >> src/cairo-features.h
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ CAIRO_ENABLE_FUNCTIONS(png, PNG, yes, [
|
|||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
use_glew="no (not required by any backend)"
|
||||
CAIRO_ENABLE_SURFACE_BACKEND(gl, OpenGL, no, [
|
||||
gl_REQUIRES="gl"
|
||||
PKG_CHECK_MODULES(gl, $gl_REQUIRES,, [
|
||||
|
|
@ -255,10 +256,10 @@ CAIRO_ENABLE_SURFACE_BACKEND(gl, OpenGL, no, [
|
|||
[AC_CHECK_HEADER(GL/glew.h, [have_glew="yes"], [])])
|
||||
if test "x$have_glew" = "xyes"; then
|
||||
gl_NONPKGCONFIG_LIBS="-lGLEW $gl_NONPKGCONFIG_LIBS"
|
||||
use_glew="system library"
|
||||
use_glew="yes (system library)"
|
||||
else
|
||||
CAIRO_ENABLE_FUNCTIONS(glew, GLEW, always)
|
||||
use_glew="private copy"
|
||||
use_glew="yes (private copy)"
|
||||
CAIRO_CFLAGS="$CAIRO_CFLAGS -I\$(top_srcdir)/src/glew"
|
||||
fi
|
||||
need_glx_functions=yes
|
||||
|
|
|
|||
|
|
@ -231,14 +231,6 @@ ifeq ($(CAIRO_HAS_PNG_FUNCTIONS),1)
|
|||
enabled_cairo_pkgconf += cairo-png.pc
|
||||
endif
|
||||
|
||||
supported_cairo_headers += $(cairo_glew_headers)
|
||||
all_cairo_headers += $(cairo_glew_headers)
|
||||
all_cairo_private += $(cairo_glew_private)
|
||||
all_cairo_sources += $(cairo_glew_sources)
|
||||
enabled_cairo_headers += $(cairo_glew_headers)
|
||||
enabled_cairo_private += $(cairo_glew_private)
|
||||
enabled_cairo_sources += $(cairo_glew_sources)
|
||||
|
||||
unsupported_cairo_headers += $(cairo_gl_headers)
|
||||
all_cairo_headers += $(cairo_gl_headers)
|
||||
all_cairo_private += $(cairo_gl_private)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
<dependencies>
|
||||
<dep package="pixman"/>
|
||||
<dep package="fontconfig"/>
|
||||
<dep package="libGL"/>
|
||||
<dep package="glitz"/>
|
||||
</dependencies>
|
||||
<after>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue