GNU Info

Info Node: (autoconf.info)Canonicalizing

(autoconf.info)Canonicalizing


Next: System Type Variables Prev: Specifying Names Up: Manual Configuration
Enter node , (file) or (file)node

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.
Note: Output, 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.

 - Macro: AC_CANONICAL_SYSTEM
     Determine the system type and set output variables to the names of
     the canonical system types.  Note: System Type Variables, for
     details about the variables this macro sets.

 - Macro: AC_CANONICAL_HOST
     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.

 - Macro: AC_VALIDATE_CACHED_SYSTEM_TUPLE (CMD)
     If the cache file is inconsistent with the current host, target
     and build system types, execute CMD or print a default error
     message.


automatically generated by info2www version 1.2.2.9