aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-04-22 12:21:30 +1000
committerSteve Bennett <steveb@workware.net.au>2011-06-10 14:00:34 +1000
commit2d1f4f8041c487fcdef221d0c9c75b9c00d7225e (patch)
tree81df0f650f41c6e87be588382f2bdec31e9ba3e9 /auto.def
parenta7f2bb4a3504802f41456944ee3fddffaa646cd5 (diff)
downloadjimtcl-2d1f4f8041c487fcdef221d0c9c75b9c00d7225e.zip
jimtcl-2d1f4f8041c487fcdef221d0c9c75b9c00d7225e.tar.gz
jimtcl-2d1f4f8041c487fcdef221d0c9c75b9c00d7225e.tar.bz2
Add --maintainer option
Enables [debug] and JimPanic() JimPanic() is an assertion feature which is generally only of interest to developers, so disable it by default to save space and time.
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index e9751c9..d32e963 100644
--- a/auto.def
+++ b/auto.def
@@ -10,6 +10,7 @@ options {
references=1 => "disable support for references"
math => "include support for math functions"
ipv6 => "include ipv6 support in the aio extension"
+ maintainer => {enable the [debug] command and JimPanic}
with-jim-shared shared => "build a shared library instead of a static library"
jim-regexp => "use the built-in (Tcl-compatible) regexp, even if POSIX regex is available"
with-jim-ext: {with-ext:"ext1 ext2 ..."} => {
@@ -93,6 +94,10 @@ if {[opt-bool utf8]} {
define JIM_UTF8
incr jimregexp
}
+if {[opt-bool maintainer]} {
+ msg-result "Enabling maintainer settings"
+ define JIM_MAINTAINER
+}
if {[opt-bool math]} {
msg-result "Enabling math functions"
define JIM_MATH_FUNCTIONS