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.65-40-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.65-40-g534a64a
Date: Fri, 26 Feb 2010 17:02:09 +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=534a64aef36c3d8e08febfdd2a625f122de3764b

The branch, master has been updated
       via  534a64aef36c3d8e08febfdd2a625f122de3764b (commit)
       via  41ec811b56c743df922240de92b308973e161e37 (commit)
       via  4a8168ae1ededcb9abd35cf09aaa35efa069d324 (commit)
      from  d8004ca5f56aaa8ec6864bd8aaa1035d4e1b42ab (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 534a64aef36c3d8e08febfdd2a625f122de3764b
Author: Eric Blake <address@hidden>
Date:   Thu Feb 25 14:56:34 2010 -0700

    Document how to safely override CFLAGS default.
    
    * doc/autoconf.texi (C Compiler) <AC_PROG_CC>: Document a way to
    change the default CFLAGS.
    (C++ Compiler) <AC_PROG_CXX>: Likewise, for CXXFLAGS.
    Reported by Monty Taylor; wording suggested by Paolo Bonzini.
    
    Signed-off-by: Eric Blake <address@hidden>

commit 41ec811b56c743df922240de92b308973e161e37
Author: Eric Blake <address@hidden>
Date:   Thu Feb 25 14:06:38 2010 -0700

    Document that Autoconf relies on IFS.
    
    * doc/autoconf.texi (Special Shell Variables) <IFS>: Add details
    about use of IFS within configure script.
    * THANKS: Update.
    Reported by Arkadiusz Miskiewicz.
    
    Signed-off-by: Eric Blake <address@hidden>

commit 4a8168ae1ededcb9abd35cf09aaa35efa069d324
Author: Eric Blake <address@hidden>
Date:   Thu Feb 25 14:17:31 2010 -0700

    Recommend latest m4 release.
    
    * README: Bump recommendation to m4 1.4.14 (minimum remains
    1.4.6).
    * doc/autoconf.texi (Introduction): Likewise.
    * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog         |   20 ++++++++++++++++++++
 README            |    2 +-
 THANKS            |    1 +
 doc/autoconf.texi |   21 ++++++++++++++++-----
 m4/m4.m4          |    4 ++--
 5 files changed, 40 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ebb686c..bb24886 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2010-02-26  Eric Blake  <address@hidden>
+
+       Document how to safely override CFLAGS default.
+       * doc/autoconf.texi (C Compiler) <AC_PROG_CC>: Document a way to
+       change the default CFLAGS.
+       (C++ Compiler) <AC_PROG_CXX>: Likewise, for CXXFLAGS.
+       Reported by Monty Taylor; wording suggested by Paolo Bonzini.
+
+       Document that Autoconf relies on IFS.
+       * doc/autoconf.texi (Special Shell Variables) <IFS>: Add details
+       about use of IFS within configure script.
+       * THANKS: Update.
+       Reported by Arkadiusz Miskiewicz.
+
+       Recommend latest m4 release.
+       * README: Bump recommendation to m4 1.4.14 (minimum remains
+       1.4.6).
+       * doc/autoconf.texi (Introduction): Likewise.
+       * m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
+
 2010-02-23  Ralf Wildenhues  <address@hidden>
 
        Fix testsuite failures due to setting of $U.
diff --git a/README b/README
index fd5591b..7b67372 100644
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ macro calls.
 
 Producing configuration scripts using Autoconf requires GNU M4 and
 Perl.  You should install GNU M4 (version 1.4.6 or later is required;
-1.4.13 or later is recommended) and Perl (5.005_03 or later) before
+1.4.14 or later is recommended) and Perl (5.005_03 or later) before
 configuring Autoconf, so that Autoconf's configure script can find
 them.  The configuration scripts produced by Autoconf are
 self-contained, so their users do not need to have Autoconf (or GNU
diff --git a/THANKS b/THANKS
index 8f90e90..16dd8a3 100644
--- a/THANKS
+++ b/THANKS
@@ -38,6 +38,7 @@ Andrew Church               address@hidden
 Andrey Simonenko            address@hidden
 Andris Pavenis              address@hidden
 Anthony N. Frasso           address@hidden
+Arkadiusz Miskiewicz        address@hidden
 Art Haas                    address@hidden
 Arto C. Nirkko              ?
 Artur Frysiak               address@hidden
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index e5cf9fd..3dfeda2 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -750,7 +750,7 @@ Autoconf imposes some restrictions on the names of macros 
used with
 Autoconf requires @acronym{GNU} M4 version 1.4.6 or later in order to
 generate the scripts.  It uses features that some versions of M4,
 including @acronym{GNU} M4 1.3, do not have.  Autoconf works better
-with @acronym{GNU} M4 version 1.4.13 or later, though this is not
+with @acronym{GNU} M4 version 1.4.14 or later, though this is not
 required.
 
 @xref{Autoconf 1}, for information about upgrading from version 1.
@@ -7128,7 +7128,9 @@ If using the @acronym{GNU} C compiler, set shell variable 
@code{GCC} to
 @samp{yes}.  If output variable @code{CFLAGS} was not already set, set
 it to @option{-g -O2} for the @acronym{GNU} C compiler (@option{-O2} on systems
 where @acronym{GCC} does not accept @option{-g}), or @option{-g} for
-other compilers.
+other compilers.  If your package does not like this default, then it is
+acceptable to insert the line @samp{: address@hidden""@}} after @code{AC_INIT}
+and before @code{AC_PROG_CC} to select an empty default instead.
 
 Many Autoconf macros use a compiler, and thus call
 @samp{AC_REQUIRE([AC_PROG_CC])} to ensure that the compiler has been
@@ -7529,7 +7531,10 @@ If using the @acronym{GNU} C++ compiler, set shell 
variable @code{GXX} to
 @samp{yes}.  If output variable @code{CXXFLAGS} was not already set, set
 it to @option{-g -O2} for the @acronym{GNU} C++ compiler (@option{-O2} on
 systems where G++ does not accept @option{-g}), or @option{-g} for other
-compilers.
+compilers.  If your package does not like this default, then it is
+acceptable to insert the line @samp{: address@hidden""@}} after @code{AC_INIT}
+and before @code{AC_PROG_CXX} to select an empty default instead.
+
 @end defmac
 
 @defmac AC_PROG_CXXCPP
@@ -15715,18 +15720,24 @@ Long ago, shell scripts inherited @env{IFS} from the 
environment,
 but this caused many problems so modern shells ignore any environment
 settings for @env{IFS}.
 
-Don't set the first character of @code{IFS} to backslash.  Indeed,
+Don't set the first character of @env{IFS} to backslash.  Indeed,
 Bourne shells use the first character (backslash) when joining the
 components in @samp{"$@@"} and some shells then reinterpret (!)@: the
 backslash escapes, so you can end up with backspace and other strange
 characters.
 
-The proper value for @code{IFS} (in regular code, not when performing
+The proper value for @env{IFS} (in regular code, not when performing
 splits) is @address@hidden@address@hidden  The first character is
 especially important, as it is used to join the arguments in @samp{$*};
 however, note that traditional shells, but also bash-2.04, fail to adhere
 to this and join with a space anyway.
 
+M4sh guarantees that @env{IFS} will have the default value at the
+beginning of a script, and many macros within autoconf rely on this
+setting.  It is okay to use blocks of shell code that temporarily change
+the value of @env{IFS} in order to split on another character, but
+remember to restore it before expanding further macros.
+
 @item LANG
 @itemx LC_ALL
 @itemx LC_COLLATE
diff --git a/m4/m4.m4 b/m4/m4.m4
index a512736..4a2d0d1 100644
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -1,4 +1,4 @@
-# m4.m4 serial 10
+# m4.m4 serial 11
 
 # Copyright (C) 2000, 2006, 2007, 2008, 2009, 2010 Free Software
 # Foundation, Inc.
@@ -34,7 +34,7 @@ AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
       && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
       rm -f conftest.m4f],
       [AC_MSG_ERROR([no acceptable m4 could be found in \$PATH.
-GNU M4 1.4.6 or later is required; 1.4.13 is recommended])])])
+GNU M4 1.4.6 or later is required; 1.4.14 is recommended])])])
   M4=$ac_cv_path_M4
   AC_CACHE_CHECK([whether $ac_cv_path_M4 accepts --gnu],
     [ac_cv_prog_gnu_m4_gnu],


hooks/post-receive
-- 
GNU Autoconf source repository




reply via email to

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