summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-05 15:21:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-05 15:21:50 +0100
commit310cebf194919cf3a7c37e724e64962ae47343cc (patch)
tree681f810a1b007b11df7afa10773cb2537657208f /build
parent9b932d7cd750b9bc61d108c80c4530352d952cfa (diff)
[configure] Add option to disable trace.
Some environments may be broken beyond our capabilities to detect, or maybe the user is just insane and doesn't want to build my nice shiny cairo-trace. Whatever, give them the option to choose: $ ./configure --disable-trace
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, 7 insertions, 0 deletions
diff --git a/build/Makefile.win32.features b/build/Makefile.win32.features
index bc82d0ff..eb10b236 100644
--- a/build/Makefile.win32.features
+++ b/build/Makefile.win32.features
@@ -30,3 +30,4 @@ CAIRO_HAS_PDF_SURFACE=1
CAIRO_HAS_SVG_SURFACE=1
CAIRO_HAS_TEST_SURFACES=0
CAIRO_HAS_XML_SURFACE=1
+CAIRO_HAS_TRACE=1
diff --git a/build/Makefile.win32.features-h b/build/Makefile.win32.features-h
index 4eb59326..552a2d0a 100644
--- a/build/Makefile.win32.features-h
+++ b/build/Makefile.win32.features-h
@@ -99,4 +99,7 @@ ifeq ($(CAIRO_HAS_XML_SURFACE),1)
@echo "#define CAIRO_HAS_XML_SURFACE 1" >> src/cairo-features.h
endif
@echo "#define CAIRO_HAS_USER_FONT 1" >> src/cairo-features.h
+ifeq ($(CAIRO_HAS_TRACE),1)
+ @echo "#define CAIRO_HAS_TRACE 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 ec9cde54..2606850b 100644
--- a/build/configure.ac.features
+++ b/build/configure.ac.features
@@ -393,6 +393,9 @@ AC_DEFUN([CAIRO_REPORT],
echo " EGL functions: $use_egl"
echo " Eagle functions: $use_eagle"
echo ""
+ echo "The following features and utilies:"
+ echo " cairo-trace: $use_trace"
+ echo ""
echo "And the following internal features:"
echo " gtk-doc: $enable_gtk_doc"
echo " gcov support: $use_gcov"