Go to the first, previous, next, last section, table of contents.

Getting the Canonical System Type

The following macros make the system type available to configure scripts. They run the shell script config.guess to determine any values for the host, target, and build types that they need and the user did not specify on the command line. They run config.sub to canonicalize any aliases the user gave. If you use these macros, you must distribute those two shell scripts along with your source code. See section Creating Output Files, for information about the AC_CONFIG_AUX_DIR macro which you can use to control which directory configure looks for those scripts in. If you do not use either of these macros, configure ignores any `--host', `--target', and `--build' options given to it.

Determine the system type and set output variables to the names of the canonical system types. See section System Type Variables, for details about the variables this macro sets.

Perform only the subset of AC_CANONICAL_SYSTEM relevant to the host type. This is all that is needed for programs that are not part of a compiler toolchain.

If the cache file is inconsistent with the current host, target and build system types, execute cmd or print a default error message.

Go to the first, previous, next, last section, table of contents.