autoconf
[Top][All Lists]
Advanced

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

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


From: Sven Joachim
Subject: Intended behavior if "--build" and "--host" are set to the same value
Date: Wed, 25 Jul 2012 19:21:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]