Diff

Differences From Artifact [80d95d3049]:

To Artifact [2e10cd62cc]:


     1      1   #! /usr/bin/env tclsh
     2      2   
     3      3   # Tcl 8.4 doesn't support this test
     4      4   if {$tcl_version == "8.4"} {
     5      5   	exit 0
     6      6   }
     7      7   
     8         -if {[tcl::pkgconfig get 64bit] == 0} {
            8  +# Determine if we should be 64-bit or not
            9  +set buildflags [split [lindex $argv 1] -]
           10  +if {[lsearch -exact $buildflags "amd64"] != -1} {
           11  +	set is64bit 1
           12  +} else {
           13  +	set is64bit 0
           14  +}
           15  +
           16  +if {[tcl::pkgconfig get 64bit] == $is64bit} {
     9     17   	exit 0
    10     18   }
    11     19   
    12     20   exit 1