Artifact 2e10cd62ccb61b456defa74e8ba450acbd08bfba:
- File build/test/tests/01-pkgconfig.tcl — part of check-in [2de7bba382] at 2013-10-02 11:45:12 on branch trunk — Updated check for 64bit platforms (user: rkeene, size: 339) [annotate] [blame] [check-ins using]
#! /usr/bin/env tclsh # Tcl 8.4 doesn't support this test if {$tcl_version == "8.4"} { exit 0 } # Determine if we should be 64-bit or not set buildflags [split [lindex $argv 1] -] if {[lsearch -exact $buildflags "amd64"] != -1} { set is64bit 1 } else { set is64bit 0 } if {[tcl::pkgconfig get 64bit] == $is64bit} { exit 0 } exit 1