build configuration

Build configuration is the step in building software that determines the characterstics and features of the the platform for which the software is to be built.

Tcl Tools

autosetup, by Steve Bennett
tcl-act
a build tool for Tcl that simplifies the building and packaging of multiple packages and C extensions into a single Tcl module file.

Other Tools

autoconf
Creates a shell script, normally called "configure", that can then be distributed with the software, and is run at build time to probe the target system.
Cmake
Handles all stages of a build, including configuration