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 /configure.ac | |
| 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 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cb064813..bc1d3840 100644 --- a/configure.ac +++ b/configure.ac @@ -668,6 +668,12 @@ if test "x$have_bfd" = "xyes"; then AC_SUBST(BFD_LIBS) fi +CAIRO_ENABLE(symbol_lookup, symbol-lookup, yes, [ + if test "x$have_bfd" != "xyes"; then + use_symbol_lookup="no (requires bfd)" + fi +]) + PKG_CHECK_MODULES(glib, glib-2.0, have_glib=yes, have_glib=no) AC_SUBST(glib_CFLAGS) AC_SUBST(glib_LIBS) |
