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.61a-399


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-399-g6893b8b
Date: Fri, 21 Mar 2008 20:15:29 +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=6893b8be8a760345c1af22dad7b7751aa7e87973

The branch, master has been updated
       via  6893b8be8a760345c1af22dad7b7751aa7e87973 (commit)
      from  f6bc7b22d4e0ca0209bd3133cc56f4dc681a6209 (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 6893b8be8a760345c1af22dad7b7751aa7e87973
Author: Eric Blake <address@hidden>
Date:   Fri Mar 21 13:27:01 2008 -0600

    Document more uses of $cross_compiling.
    
    * doc/autoconf.texi (Runtime): Document that a temporary override
    is permissible.
    * THANKS: Update.
    Reported by Ineiev, example by Ralf Wildenhues.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog         |    6 ++++++
 THANKS            |    1 +
 doc/autoconf.texi |   15 +++++++++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 97e8ddc..ef48fbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-03-21  Eric Blake  <address@hidden>
 
+       Document more uses of $cross_compiling.
+       * doc/autoconf.texi (Runtime): Document that a temporary override
+       is permissible.
+       * THANKS: Update.
+       Reported by Ineiev, example by Ralf Wildenhues.
+
        Don't swallow $1 in textual local variables.
        * lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
        expansion of text arguments, as that swallows $1.
diff --git a/THANKS b/THANKS
index 84d2cdb..a561cfb 100644
--- a/THANKS
+++ b/THANKS
@@ -139,6 +139,7 @@ Ian Lance Taylor            address@hidden
 Ian Macdonald               address@hidden
 Ian Redfern                 address@hidden
 Ilya Zakharevich            address@hidden
+Ineiev                      address@hidden
 Iohannes m zmoelnig         address@hidden
 J C Fitzgerald              address@hidden
 Jaap Haitsma                address@hidden
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 0710397..a32e779 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8371,6 +8371,21 @@ you can test whether the shell variable 
@code{cross_compiling} is set to
 @samp{yes}, and then use an alternate method to get the results instead
 of calling the macros.
 
+It is also permissible to temporarily assign to @code{cross_compiling}
+in order to force tests to behave as though they are in a
+cross-compilation environment, particularly since this provides a way to
+test your @var{action-if-cross-compiling} even when you are not using a
+cross-compiler.
+
address@hidden
+# We temporarily set cross-compile mode to force AC_COMPUTE_INT
+# to use the slow link-only method
+save_cross_compiling=$cross_compiling
+cross_compiling=yes
+AC_COMPUTE_INT(address@hidden)
+cross_compiling=$save_cross_compiling
address@hidden example
+
 A C or C++ runtime test should be portable.
 @xref{Portable C and C++}.
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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