Fossil SCM
Fixed an incorrect Tcl string comparison checked in with [e449cb09].
Commit
c94617b57d0325009d20ccca1532c03b60cc43169576249d13d30b12d6830d1e
Parent
91eaef6131e816b…
1 file changed
+3
-1
M
auto.def
+3
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -46,11 +46,13 @@ | ||
| 46 | 46 | # autosetup won't build jimsh0 at all if it can find tclsh itself. |
| 47 | 47 | # Ironically, this means we may right now be running under either jimsh0 |
| 48 | 48 | # or a version of tclsh that we find unsuitable below! |
| 49 | 49 | cc-check-progs tclsh |
| 50 | 50 | set hbtd /usr/local/Cellar/tcl-tk |
| 51 | -if {[get-define TCLSH] != false} { | |
| 51 | +if {[string equal false [get-define TCLSH]]} { | |
| 52 | + msg-result "WARNING: 'make test' will not run here." | |
| 53 | +} else { | |
| 52 | 54 | set v [exec /bin/sh -c "echo 'puts \$tcl_version' | tclsh"] |
| 53 | 55 | if {[expr $v >= 8.6]} { |
| 54 | 56 | msg-result "Found Tclsh version $v in the PATH." |
| 55 | 57 | define TCLSH tclsh |
| 56 | 58 | } elseif {[file isdirectory $hbtd]} { |
| 57 | 59 |
| --- auto.def | |
| +++ auto.def | |
| @@ -46,11 +46,13 @@ | |
| 46 | # autosetup won't build jimsh0 at all if it can find tclsh itself. |
| 47 | # Ironically, this means we may right now be running under either jimsh0 |
| 48 | # or a version of tclsh that we find unsuitable below! |
| 49 | cc-check-progs tclsh |
| 50 | set hbtd /usr/local/Cellar/tcl-tk |
| 51 | if {[get-define TCLSH] != false} { |
| 52 | set v [exec /bin/sh -c "echo 'puts \$tcl_version' | tclsh"] |
| 53 | if {[expr $v >= 8.6]} { |
| 54 | msg-result "Found Tclsh version $v in the PATH." |
| 55 | define TCLSH tclsh |
| 56 | } elseif {[file isdirectory $hbtd]} { |
| 57 |
| --- auto.def | |
| +++ auto.def | |
| @@ -46,11 +46,13 @@ | |
| 46 | # autosetup won't build jimsh0 at all if it can find tclsh itself. |
| 47 | # Ironically, this means we may right now be running under either jimsh0 |
| 48 | # or a version of tclsh that we find unsuitable below! |
| 49 | cc-check-progs tclsh |
| 50 | set hbtd /usr/local/Cellar/tcl-tk |
| 51 | if {[string equal false [get-define TCLSH]]} { |
| 52 | msg-result "WARNING: 'make test' will not run here." |
| 53 | } else { |
| 54 | set v [exec /bin/sh -c "echo 'puts \$tcl_version' | tclsh"] |
| 55 | if {[expr $v >= 8.6]} { |
| 56 | msg-result "Found Tclsh version $v in the PATH." |
| 57 | define TCLSH tclsh |
| 58 | } elseif {[file isdirectory $hbtd]} { |
| 59 |