Next: , Previous: , Up: Core Internal Procedures   [Contents][Index]


istarget procedure

istarget Procedure

Tests for a particular target environment. If the currently configured target matches the argument string, the result is 1 ; otherwise the result is 0. pattern must be a full three-part configure triplet; in particular, you may not use the shorter aliases supported by configure (but you can use Tcl globbing to specify a range of triplets). If called with no arguments or an empty pattern, this procedure returns the target triplet.

istarget pattern