Package: autotools-dev
Version: 20120608.1

The following paragraph from
/usr/share/doc/autotools-dev/README.Debian.gz is not correct:

,----
| BTW, autoconf 2.52+ should enter cross-compiling mode if --host is
| specified.  It will build in cross-compiling mode even if build and host
| type are the same (this information comes directly from autoconf upstream).
| This goes against what is in the docs of autoconf 2.59, and it may be a bug
| somewhere.
`----

In fact, if both --build and --host are specified and are identical,
autoconf does not enter cross-compiling mode, as can be seen in
/usr/share/autoconf/autoconf/general.m4 (the code has been there since
autoconf 2.50):

,----
| if test "x$host_alias" != x; then
|   if test "x$build_alias" = x; then
|     cross_compiling=maybe
|   elif test "x$build_alias" != "x$host_alias"; then
|     cross_compiling=yes
|   fi
| fi
`----

The autoconf manual used to be a bit unclear about this in versions
before 2.69; commit 303e507c2783bb6c43c7c5be2467eaa8a57dadd9 clarified
the situation.

This also means that it's actually safe to unconditionally pass
"--build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)" to
configure, no matter whether you're cross-building or not (specifying
only --host and no --build is an error, though).


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.4.6-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to