Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(570496)

Unified Diff: configure.ac

Issue 815: Render analyzer frame using cairo
Patch Set: Render analyzer frame using cairo Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.am ('k') | examples/analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: configure.ac
diff --git a/configure.ac b/configure.ac
index f9f3b8be6bb5acede8d8c64d8eb4a71ee19ea13d..913b1d74977c082505d60fd78152aab6dba7adc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,11 @@ AS_IF([test "$enable_player" = "yes"], [
])
AM_CONDITIONAL([ENABLE_PLAYER_EXAMPLE], [test "$enable_player" = "yes"])
+dnl check for libcairo
+HAVE_CAIRO=no
+PKG_CHECK_MODULES(CAIRO, cairo, HAVE_CAIRO=yes, HAVE_CAIRO=no)
+AC_DEFINE([HAVE_CAIRO], [], [libcairo is available for analyzer output])
+
#CC_ATTRIBUTE_VISIBILITY([default], [
# CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
#])
@@ -353,6 +358,9 @@ AS_IF([test "$enable_analyzer" = "yes"], [
The analyzer requires --enable-accounting to function properly.
])
fi
+ if test x$HAVE_CAIRO != xyes; then
+ AC_MSG_WARN([libcairo not found -- required to build the analyzer ])
+ fi
])
AM_CONDITIONAL([ENABLE_ANALYZER], [test "$enable_analyzer" = "yes"])
« no previous file with comments | « Makefile.am ('k') | examples/analyzer.cc » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld