summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-04-09 08:02:42 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-04-09 12:17:57 +0400
commit92bd2e3d95d6dcab9ffd2dc5db92970f8fcb066c (patch)
treec372d188047aa42117b92efc7f4f15f7fb85b9f2 /configure.ac
parent003f5149258f1e8436f1514031ca1590624fe546 (diff)
downloadbdwgc-92bd2e3d95d6dcab9ffd2dc5db92970f8fcb066c.tar.gz
Do not compile backgraph.c unless configure '--enable-gc-debug'
* Makefile.am (libgc_la_SOURCES): Exclude "backgraph" entry from unconditional list; add this entry only if MAKE_BACK_GRAPH. * configure.ac (MAKE_BACK_GRAPH): New AM conditional (defined only if enable_gc_debug explicitly set to yes).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b61cf814..05513b42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -714,6 +714,7 @@ AC_ARG_ENABLE(gc-debug,
;;
esac ]
fi)
+AM_CONDITIONAL([MAKE_BACK_GRAPH], [test x"$enable_gc_debug" = xyes])
AM_CONDITIONAL([KEEP_BACK_PTRS], [test x"$keep_back_ptrs" = xtrue])
# Check for AViiON Machines running DGUX