autoconf/lib
Bruno Haible 280f330992 AC_INIT: remove a transitional warning
On bi-arch systems (such as x86 / x86_64) it is often necessary to pass
the --host option together with an appropriate value for CC. But this
triggers a warning:

$ ./configure --host=i686-pc-linux-gnu CC="gcc -m32 -march=i586"
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
..

This warning was introduced on 2000-06-30, in commit
<http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb2e761b8e1181f97e8e09d85526bd22078433db>
with the remark "Re-enable the old behavior of --host and --build."

This warning was meant to warn users about a changed semantics of
--build and --host. This change is now 12 years in the past; users
have had enough time to learn it. I therefore suggest to remove the
warning.

I've done lots of cross and bi-arch compilations in the last 10 years,
all with --host and without --build, and have never observed a problem
with it, except for the warning. Simply relying on config.guess is sufficient.

* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Don't warn if --host
given without --build.

Signed-off-by: Eric Blake <eblake@redhat.com>
2012-04-24 15:18:45 -06:00
..
autoconf AC_INIT: remove a transitional warning 2012-04-24 15:18:45 -06:00
Autom4te cosmetics fix imprecise comment in Autom4te::General 2012-03-29 00:29:12 +02:00
autoscan maint: update copyright year 2012-01-04 00:20:24 -08:00
autotest maint: update copyright year 2012-01-04 00:20:24 -08:00
emacs maint: update copyright year 2012-01-04 00:20:24 -08:00
m4sugar configure: don't infloop when re-executing with $CONFIG_SHELL 2012-03-03 10:44:25 +01:00
autom4te.in maint: update copyright year 2012-01-04 00:20:24 -08:00
freeze.mk maint: update copyright year 2012-01-04 00:20:24 -08:00
Makefile.am maint: update copyright year 2012-01-04 00:20:24 -08:00