[cairo] [PATCH 02/39] [OpenVG] OpenVG Build plumbing for configure.ac and Makefile.sources
tardyp at gmail.com
tardyp at gmail.com
Fri Jul 10 10:02:04 PDT 2009
From: Pierre Tardy <tardyp at gmail.com>
---
configure.ac | 7 +++++++
src/Makefile.sources | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4f8f1b2..4c01d32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,6 +240,13 @@ CAIRO_ENABLE_SURFACE_BACKEND(directfb, directfb, no, [
[use_directfb="no (requires $directfb_REQUIRES http://www.directfb.org)"])
])
+CAIRO_ENABLE_SURFACE_BACKEND(openvg, openvg, no, [
+ dnl There is no pkgconfig for openvg; lets do a header check
+ AC_CHECK_HEADER(vg/openvg.h, , [use_openvg="no (OpenVG headers not found)"])
+ openvg_LIBS="-lOpenVG"
+])
+
+
dnl ===========================================================================
any2ppm_cs=no
diff --git a/src/Makefile.sources b/src/Makefile.sources
index ef4e1c8..b5a3597 100644
--- a/src/Makefile.sources
+++ b/src/Makefile.sources
@@ -258,3 +258,7 @@ cairo_directfb_sources = cairo-directfb-surface.c
cairo_script_headers = cairo-script.h
cairo_script_sources = cairo-script-surface.c
+
+cairo_openvg_headers = cairo-openvg.h
+cairo_openvg_sources = cairo-openvg-surface.c
+
--
1.6.0.4
More information about the cairo
mailing list