summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-10-31 20:30:06 -0400
committerTavian Barnes <tavianator@gmail.com>2011-10-31 23:22:26 -0400
commitc36581bc01fc8891ea43d4c455961bb39ea54904 (patch)
tree4b9ad177ecdbb7a2e8fed7640cd31bfa096a1d7c /libdimension-python
parentcff94b97ca2e3a4b7396845a7a2fd1c9ab812d55 (diff)
downloaddimension-c36581bc01fc8891ea43d4c455961bb39ea54904.tar.xz
Add --enable-debug configure option.
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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 \