Intended behavior if "--build" and "--host" are set to the same value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have been wondering¹ what the intended behavior of `configure' is if
both "--build" and "--host" are given and are identical.  The manual
says

,----
|    They all default to the result of running `config.guess', unless you
| specify either `--build' or `--host'.  In this case, the default
| becomes the system type you specified.  If you specify both, and
| they're different, `configure' enters cross compilation mode, so it
| doesn't run any tests that require execution.
`----

This seems to imply "if they are not different, `configure' does not
enter cross compilation mode", and this is how it actually has been
behaving for the last twelve years.  However, the manual also says

,----
|    Now, `configure' enters cross-compilation mode if and only if
| `--host' is passed.
`----

contradicting that.  What is the intended behavior that will be
implemented when hell freez^W^W autoconf 2.13 bug compatibility gets
finally removed?

Cheers,
       Sven


¹ http://bugs.debian.org/682780

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux