From c36581bc01fc8891ea43d4c455961bb39ea54904 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 31 Oct 2011 20:30:06 -0400 Subject: Add --enable-debug configure option. --- libdimension-python/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libdimension-python') diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am index 33e93a5..6e76591 100644 --- a/libdimension-python/Makefile.am +++ b/libdimension-python/Makefile.am @@ -26,7 +26,11 @@ AM_CFLAGS = $(Python_CFLAGS) AM_LDFLAGS = $(Python_LDFLAGS) wrapper.c: wrapper.pyx wrapper.pxd +if DEBUG cython --line-directives wrapper.pyx +else + cython wrapper.pyx +endif pkgpyexec_LTLIBRARIES = wrapper.la wrapper_la_SOURCES = wrapper.c \ -- cgit v1.2.3