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


ishost procedure

ishost Procedure

Tests for a particular host environment. If the currently configured host 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 host triplet.

ishost pattern