Check-in [2de7bba382]
Overview
Comment:Updated check for 64bit platforms
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2de7bba382b6a44a4d6df13cd4298ecbcfa9ada5
User & Date: rkeene on 2013-10-02 11:45:12
Other Links: manifest | tags
Context
2013-10-02
11:47
Updated to correctly set 64bit flags check-in: 9647859b32 user: rkeene tags: trunk
11:45
Updated check for 64bit platforms check-in: 2de7bba382 user: rkeene tags: trunk
11:38
Updated to support 64-bit tests better check-in: 75b6b83bca user: rkeene tags: trunk
Changes

Modified build/test/tests/01-pkgconfig.tcl from [80d95d3049] to [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