Artifact 7817026d2e17c77152e47c87b6f732263daf6f14:
- File build/test/tests/01-pkgconfig.tcl — part of check-in [ee0059a1c6] at 2013-10-03 19:17:50 on branch trunk — Added debug output for pkgconfig (user: rkeene, size: 445) [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 } puts "tcl::pkgconfig get returned [tcl::pkgconfig get 64bit], but we platform 64 bit returned: $is64bit" exit 1