[SCM] GNU Autoconf source repository branch, master, updated. v2.63-269-gaa30765

"Eric Blake" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
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=aa30765d64d4a50ad7ce83e78b5699223571ef36

The branch, master has been updated
       via  aa30765d64d4a50ad7ce83e78b5699223571ef36 (commit)
      from  65c175502a7c574906a8542fdddcbf770720d118 (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 aa30765d64d4a50ad7ce83e78b5699223571ef36
Author: Eric Blake <[email protected]>
Date:   Wed Jan 28 09:57:08 2009 -0700

    Fix AC_C_RESTRICT for Sun Studio 12 C++.
    
    * lib/autoconf/c.m4 (AC_C_RESTRICT): Newer Sun Studio C provides
    __restrict__ rather than _Restrict, which still trips up Sun
    Studio 12 C++.
    * THANKS: Update.
    Reported by Rolf Vandevaart.
    
    Signed-off-by: Eric Blake <[email protected]>

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

Summary of changes:
 ChangeLog         |    9 +++++++++
 THANKS            |    1 +
 lib/autoconf/c.m4 |   15 ++++++++-------
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2885f27..44e147c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2009-01-28  Eric Blake  <[email protected]>
 
+	Fix AC_C_RESTRICT for Sun Studio 12 C++.
+	* lib/autoconf/c.m4 (AC_C_RESTRICT): Newer Sun Studio C provides
+	__restrict__ rather than _Restrict, which still trips up Sun
+	Studio 12 C++.
+	* THANKS: Update.
+	Reported by Rolf Vandevaart.
+
+2009-01-28  Eric Blake  <[email protected]>
+
 	Fix years in copyright notices.
 	* lib/m4sugar/m4sugar.m4 (m4_copyright_condense): New macro,
 	undocumented for now.
diff --git a/THANKS b/THANKS
index 54310b5..74895cf 100644
--- a/THANKS
+++ b/THANKS
@@ -304,6 +304,7 @@ Roberto Bagnara             [email protected]
 Roger Leigh                 [email protected]
 Roland McGrath              [email protected]
 Rolf Ebert                  [email protected]
+Rolf Vandevaart             [email protected]
 Romain Lenglet              [email protected]
 Ruediger Kuhlmann           [email protected]
 Russ Allbery                [email protected]
diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index beaf0b1..3fa9c04 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -1,7 +1,7 @@
 # This file is part of Autoconf.			-*- Autoconf -*-
 # Programming languages support.
-# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free
-# Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -1604,13 +1604,14 @@ AC_DEFUN([AC_C_RESTRICT],
    nothing if this is not supported.  Do not define if restrict is
    supported directly.  */
 #undef restrict
-/* Work around a bug in Sun C++: it does not support _Restrict, even
-   though the corresponding Sun C compiler does, which causes
-   "#define restrict _Restrict" in the previous line.  Perhaps some future
-   version of Sun C++ will work with _Restrict; if so, it'll probably
-   define __RESTRICT, just as Sun C does.  */
+/* Work around a bug in Sun C++: it does not support _Restrict or
+   __restrict__, even though the corresponding Sun C compiler ends up with
+   "#define restrict _Restrict" or "#define restrict __restrict__" in the
+   previous line.  Perhaps some future version of Sun C++ will work with
+   restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
 #if defined __SUNPRO_CC && !defined __RESTRICT
 # define _Restrict
+# define __restrict__
 #endif])
  case $ac_cv_c_restrict in
    restrict) ;;


hooks/post-receive
--
GNU Autoconf source repository
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.