summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-14 09:19:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-14 09:26:02 +0100
commit6d4f3c40eff7d070b1c9759038444928c6754efe (patch)
tree80b9f7889b2d2e384e73ef970a5f90417f0341e7 /build
parent9ad26f74b0059645d865a20c387fa4bd460cabc8 (diff)
Add a private copy of GLEW
This appears to be the simplest mechanism to build libglew at the moment - should a system copy be unavailable. Fortunately libglew is now distributed under a permissive licence. If you want to pass 'make -C src check' you have to use the system copy, or spend quite a bit of time cairo-fying libglew.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.win32.features-h1
-rw-r--r--build/configure.ac.features1
2 files changed, 2 insertions, 0 deletions
diff --git a/build/Makefile.win32.features-h b/build/Makefile.win32.features-h
index 8585498a..e49f6b06 100644
--- a/build/Makefile.win32.features-h
+++ b/build/Makefile.win32.features-h
@@ -50,6 +50,7 @@ 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
diff --git a/build/configure.ac.features b/build/configure.ac.features
index baf88483..b3b7b851 100644
--- a/build/configure.ac.features
+++ b/build/configure.ac.features
@@ -389,6 +389,7 @@ AC_DEFUN([CAIRO_REPORT],
echo ""
echo "The following functions:"
echo " PNG functions: $use_png"
+ echo " GLEW functions: $use_glew"
echo " GLX functions: $use_glx"
echo " EGL functions: $use_egl"
echo " Eagle functions: $use_eagle"