diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-13 10:52:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-13 10:52:14 +0100 |
commit | 6cb3ff9c1943c58f5b6892af3f18f6aaa24494b6 (patch) | |
tree | 07ae950132347ccad6a27148a651e826f0688ee7 /util | |
parent | 556d064f4eb3625022f0d99461929ff3fafc9c71 (diff) |
[configure] --enable-symbol-lookup
There you go Joonas, I don't always ignore your suggestions! This is
simple patch to allow the user to disable symbol loops in case the
auto-detection fails on some obscure (perhaps OpenBSD) platform. Or in
case the user really wants to trim a few bytes from a library only used
during tracing!
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/Makefile.am | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/util/cairo-trace/Makefile.am b/util/cairo-trace/Makefile.am index 6da0267e..7e2f66e6 100644 --- a/util/cairo-trace/Makefile.am +++ b/util/cairo-trace/Makefile.am @@ -7,15 +7,19 @@ cairolib_LTLIBRARIES = cairo-trace.la AM_CPPFLAGS = -I$(top_srcdir)/src \ -I$(top_builddir)/src -cairo_trace_la_SOURCES = \ - lookup-symbol.c \ - lookup-symbol.h \ - trace.c +cairo_trace_la_SOURCES = trace.c cairo_trace_la_CPPFLAGS = -DCAIRO_TRACE_OUTDIR="\"$(cairooutdir)\"" \ $(AM_CPPFLAGS) cairo_trace_la_CFLAGS = $(CAIRO_CFLAGS) cairo_trace_la_LDFLAGS = -module -no-undefined -cairo_trace_la_LIBADD = -ldl -lz $(BFD_LIBS) +cairo_trace_la_LIBADD = -ldl -lz + +if CAIRO_HAS_SYMBOL_LOOKUP +cairo_trace_la_SOURCES += \ + lookup-symbol.c \ + lookup-symbol.h +cairo_trace_la_LIBADD += $(BFD_LIBS) +endif system-install: install |