summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-08 17:51:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-08 17:51:33 +0100
commit9389cb78a8ea5b6579d091ab1030ab9f1b13efc2 (patch)
treeb5213d8be51e80d1c372336860483734a53cac90 /build
parent45759e5a0fb20a632f66a8dd206833b55a95f840 (diff)
[build] Improve handling of missing test apparatus
Improve detection, reporting and disabling of test backends when we lack the required libraries and utilities.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.win32.features1
-rw-r--r--build/Makefile.win32.features-h3
-rw-r--r--build/configure.ac.features3
3 files changed, 6 insertions, 1 deletions
diff --git a/build/Makefile.win32.features b/build/Makefile.win32.features
index eb10b236..af88c951 100644
--- a/build/Makefile.win32.features
+++ b/build/Makefile.win32.features
@@ -31,3 +31,4 @@ CAIRO_HAS_SVG_SURFACE=1
CAIRO_HAS_TEST_SURFACES=0
CAIRO_HAS_XML_SURFACE=1
CAIRO_HAS_TRACE=1
+CAIRO_HAS_INTERPRETER=1
diff --git a/build/Makefile.win32.features-h b/build/Makefile.win32.features-h
index 552a2d0a..1807aee9 100644
--- a/build/Makefile.win32.features-h
+++ b/build/Makefile.win32.features-h
@@ -102,4 +102,7 @@ endif
ifeq ($(CAIRO_HAS_TRACE),1)
@echo "#define CAIRO_HAS_TRACE 1" >> src/cairo-features.h
endif
+ifeq ($(CAIRO_HAS_INTERPRETER),1)
+ @echo "#define CAIRO_HAS_INTERPRETER 1" >> src/cairo-features.h
+endif
@echo "#endif" >> src/cairo-features.h
diff --git a/build/configure.ac.features b/build/configure.ac.features
index 2606850b..afa576a4 100644
--- a/build/configure.ac.features
+++ b/build/configure.ac.features
@@ -394,7 +394,8 @@ AC_DEFUN([CAIRO_REPORT],
echo " Eagle functions: $use_eagle"
echo ""
echo "The following features and utilies:"
- echo " cairo-trace: $use_trace"
+ echo " cairo-trace: $use_trace"
+ echo " cairo-script-interpreter: $use_interpreter"
echo ""
echo "And the following internal features:"
echo " gtk-doc: $enable_gtk_doc"