[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
In almost all cases the host system is the system on which you run the `configure' script, and on which you build the tools (for the case when they differ, see section 6. Canadian Cross).
If your configure script needs to know the configuration name of the host system, and the package is not a cross compilation tool and therefore does not have a target, put `AC_CANONICAL_HOST' in `configure.in'. This macro will arrange to define a few shell variables when the `configure' script is run.
The shell variables may be used by putting shell code in `configure.in'. For an example, see 4.2 Using Configuration Names.