autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.62-99-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.62-99-g69a9051
Date: Sat, 06 Sep 2008 19:55:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=69a905148d6797a79ceb801c428644b9fa450a84

The branch, master has been updated
       via  69a905148d6797a79ceb801c428644b9fa450a84 (commit)
      from  7bb64f8f9408b0ad46b019fe272058b3a3a4b6e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 69a905148d6797a79ceb801c428644b9fa450a84
Author: Eric Blake <address@hidden>
Date:   Sat Sep 6 13:20:58 2008 -0600

    Relax tone when warning about cross-compiler names.
    
    * lib/autoconf/programs.m4 (_AC_TOOL_WARN): Support cross-compiles
    with poorly named tools; the issue has been reported too many
    times in the last four years to pull support.
    * doc/autoconf.texi (Specifying Names, Generic Programs): Update
    documentation accordingly.
    * THANKS: Update.
    Reported by Josef Tran and others, wording suggested by Ralf
    Wildenhues.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |   12 ++++++++++++
 THANKS                   |    1 +
 doc/autoconf.texi        |   36 +++++++++++++++++++-----------------
 lib/autoconf/programs.m4 |    4 +---
 4 files changed, 33 insertions(+), 20 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f78c40f..1ad89f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-09-06  Eric Blake  <address@hidden>
+
+       Relax tone when warning about cross-compiler names.
+       * lib/autoconf/programs.m4 (_AC_TOOL_WARN): Support cross-compiles
+       with poorly named tools; the issue has been reported too many
+       times in the last four years to pull support.
+       * doc/autoconf.texi (Specifying Names, Generic Programs): Update
+       documentation accordingly.
+       * THANKS: Update.
+       Reported by Josef Tran and others, wording suggested by Ralf
+       Wildenhues.
+
 2008-09-01  Eric Blake  <address@hidden>
 
        Improve AC_C_BIGENDIAN.
diff --git a/THANKS b/THANKS
index 906ed17..afdd697 100644
--- a/THANKS
+++ b/THANKS
@@ -171,6 +171,7 @@ John Fortin                 address@hidden
 John Interrante             address@hidden
 John W. Eaton               address@hidden
 Jonathan Kamens             address@hidden
+Josef Tran                  address@hidden
 Joseph S. Myers             address@hidden
 Jules Colding               address@hidden
 Julian Onions               address@hidden
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 23417b3..97f09d7 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -4034,8 +4034,8 @@ sets @code{RANLIB} to @file{i386-gnu-ranlib} if that 
program exists in
 @var{path}, or otherwise to @samp{ranlib} if that program exists in
 @var{path}, or to @samp{:} if neither program exists.
 
-In the future, when cross-compiling this macro will @emph{only}
-accept program names that are prefixed with the host type.
+When cross-compiling, this macro will issue a warning if no program
+prefixed with the host type could be found.
 For more information, see @ref{Specifying Names, , Specifying the
 system type}.
 @end defmac
@@ -4068,8 +4068,10 @@ the list are found, set @var{variable} to 
@var{value-if-not-found}; if
 @var{value-if-not-found} is not specified, the value of @var{variable}
 is not changed.  Calls @code{AC_SUBST} for @var{variable}.
 
-In the future, when cross-compiling this macro will @emph{not}
-accept program names that are not prefixed with the host type.
+When cross-compiling, this macro will issue a warning if no program
+prefixed with the host type could be found.
+For more information, see @ref{Specifying Names, , Specifying the
+system type}.
 @end defmac
 
 @anchor{AC_PATH_PROG}
@@ -4145,8 +4147,10 @@ name of the program if it is found.
 Like @code{AC_CHECK_TOOL}, but set @var{variable} to the absolute
 name of the program if it is found.
 
-In the future, when cross-compiling this macro will @emph{not}
-accept program names that are not prefixed with the host type.
+When cross-compiling, this macro will issue a warning if no program
+prefixed with the host type could be found.
+For more information, see @ref{Specifying Names, , Specifying the
+system type}.
 @end defmac
 
 
@@ -17731,17 +17735,15 @@ example, configuring as follows fails:
 ./configure CC=m68k-coff-gcc
 @end example
 
-In the future, when cross-compiling Autoconf will @emph{not}
-accept tools (compilers, linkers, assemblers) whose name is not
-prefixed with the host type.  The only case when this may be
-useful is when you really are not cross-compiling, but only
-building for a least-common-denominator architecture: an example
-is building for @code{i386-pc-linux-gnu} while running on an
address@hidden architecture.  In this case, some particular
-pairs might be similar enough to let you get away with the system
-compilers, but in general the compiler might make bogus assumptions
-on the host: if you know what you are doing, please create symbolic
-links from the host compiler to the build compiler.
+When cross-compiling, @command{configure} will warn about any tools
+(compilers, linkers, assemblers) whose name is not prefixed with the
+host type.  This is an aid to users performing cross-compilation.
+Continuing the example above, if a cross-compiler named @command{cc} is
+used with a native @command{pkg-config}, then libraries found by
address@hidden will likely cause subtle build failures; but using
+the names @command{m68k-coff-cc} and @command{m68k-coff-pkg-config}
+avoids any confusion.  Avoiding the warning is as simple as creating the
+correct symlinks naming the cross tools.
 
 @cindex @command{config.sub}
 @command{configure} recognizes short aliases for many system types; for
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index f2245fb..63f8a13 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -211,9 +211,7 @@ AU_DEFUN([AC_CHECK_TOOL_PREFIX])
 AC_DEFUN([_AC_TOOL_WARN],
 [case $cross_compiling:$ac_tool_warned in
 yes:)
-AC_MSG_WARN([In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to address@hidden)
+AC_MSG_WARN([using cross tools not prefixed with host triplet])
 ac_tool_warned=yes ;;
 esac])
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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