diff options
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 48 |
1 files changed, 24 insertions, 24 deletions
@@ -24,7 +24,7 @@ options { ipv6=1 => "Disable ipv6 support in the aio extension" maintainer => {Enable the [debug] command and JimPanic} minimal => "Disable some optional features: ipv6, ssl, math, utf8 and some extensions. Also see --without-ext=default" - # Note that full is now the default + # Note that full is now the default full allextmod => "Enable all non-default extensions as modules if prerequisites are found" compat => "Enable some backward compatibility behaviour" @@ -33,8 +33,8 @@ options { jim-regexp=1 => "Prefer POSIX regex if over the the built-in (Tcl-compatible) regex" docs=1 => "Don't build or install the documentation" docdir:path => "Path to install docs (if built)" - random-hash => "Randomise hash tables. more secure but hash table results are not predicable" - coverage => "Build with code coverage support" + random-hash => "Randomise hash tables. more secure but hash table results are not predicable" + coverage => "Build with code coverage support" with-jim-ext: {with-ext:"ext1,ext2,..."} => { Specify additional Jim extensions to include. Use --extinfo to show information about available extensions. @@ -103,7 +103,7 @@ foreach {mod attrs help} { } if {[opt-bool full]} { - user-notice "Note that --full is now the default, and need not be specified (see --minimal)" + user-notice "Note that --full is now the default, and need not be specified (see --minimal)" } if {[opt-bool extinfo]} { @@ -211,7 +211,7 @@ define-append AS_CPPFLAGS -O2 # check, but don't add to -cflags cc-with {} { - cc-check-flags -fno-unwind-tables -fno-asynchronous-unwind-tables + cc-check-flags -fno-unwind-tables -fno-asynchronous-unwind-tables } if {[opt-bool coverage]} { if {[cctest -link 1 -cflags --coverage]} { @@ -261,18 +261,18 @@ cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes cc-check-functions shutdown socketpair link symlink fsync dup umask cc-check-functions localtime gmtime strptime if {![cc-check-functions realpath]} { - cc-check-functions _fullpath + cc-check-functions _fullpath } cc-with {-includes math.h} { - cc-check-decls isinf isnan + cc-check-decls isinf isnan } if {[have-feature fork]} { - # Only use vfork if not deprecated - cc-with {-nooutput 1} { - cc-check-functions vfork - } + # Only use vfork if not deprecated + cc-with {-nooutput 1} { + cc-check-functions vfork + } } if {[cc-check-function-in-lib backtrace execinfo]} { @@ -387,16 +387,16 @@ set jimregexp 0 # In either case if explicitly enable or disabled, that takes precedence proc opt-bool-unless-minimal {opt} { if {[opt-bool minimal]} { - set default 0 - } else { - set default 1 - } - # If not explicitly enabled/disabled, use the default based on --minimal - set val [opt-bool -nodefault $opt] - if {$val < 0} { - set val $default - } - return $val + set default 0 + } else { + set default 1 + } + # If not explicitly enabled/disabled, use the default based on --minimal + set val [opt-bool -nodefault $opt] + if {$val < 0} { + set val $default + } + return $val } if {[opt-bool-unless-minimal utf8]} { @@ -523,7 +523,7 @@ set withinfo(mod) [join-ext-names [opt-val {with-mod with-jim-extmod}]] set withinfo(nodefault) 0 set withinfo(optional) 1 if {[opt-bool minimal]} { - set withinfo(optional) 0 + set withinfo(optional) 0 } if {$withinfo(without) eq "default"} { set withinfo(without) {} @@ -595,9 +595,9 @@ if {[ext-get-status load] eq "n"} { # Are we cross compiling? if {[get-define host] ne [get-define build]} { - define cross_compiling 1 + define cross_compiling 1 } else { - define cross_compiling 0 + define cross_compiling 0 } msg-result "Jim static extensions: [lsort [concat $extinfo(static-tcl) $extinfo(static-c)]]" |