aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-03-02 08:19:15 +1000
committerSteve Bennett <steveb@workware.net.au>2023-03-02 08:19:15 +1000
commit67fb9afc73b1e0f9bd5b925a420cbdaa9561b031 (patch)
treea25d7e6907af4081a254fd58a9c89da10972aa91
parent22277943a19ca097f4f83c1dc622cfdfdef42edc (diff)
downloadjimtcl-67fb9afc73b1e0f9bd5b925a420cbdaa9561b031.zip
jimtcl-67fb9afc73b1e0f9bd5b925a420cbdaa9561b031.tar.gz
jimtcl-67fb9afc73b1e0f9bd5b925a420cbdaa9561b031.tar.bz2
auto.def: fix whitespace
Some tabs have crept into this file. Expand to spaces for consistency. Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--auto.def48
1 files changed, 24 insertions, 24 deletions
diff --git a/auto.def b/auto.def
index 3833cc8..e9d6002 100644
--- a/auto.def
+++ b/auto.def
@@ -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)]]"