Date: Wed, 26 Apr 2000 09:41:35 -0400 (EDT)
   From: Pavel Roskin <[EMAIL PROTECTED]>

   Perhaps the simple packages that don't use AC_CANONICAL_* and don't have
   config.{guess,sub} could still understand "--host". But it will have only
   limited effects:

   - $host_alias and $ac_tool_prefix will be defined
   - "configure" will assume that we are cross-compiling
   - AC_TRY_RUN tests will not be run
   - AC_PATH_TOOL will test for tools beginning with $ac_tool_prefix

   Note that the value of $host_alias will not be compared to anything. I.e.
   if you specify "--host" you are cross-compiling. $host, $host_os,
   $host_cpu and $host_vendor will never be defined.

   Packages that include AC_CANONICAL_* will have all those variables
   defined. $host will be compared with $build. Cross-compiling will be
   assumed when and only when $host != $build

   Does this sound reasonable?

This sounds reasonable to me.  A package without AC_CANONICAL_* should
presumably still understand --build, for consistency.  If both --build
and --host were specified, they could be compared.

Ian

Reply via email to