]> git.saurik.com Git - bison.git/commitdiff
tests: fix for newer Sun Studio C++.
authorJoel E. Denny <joeldenny@joeldenny.org>
Sat, 10 Apr 2010 21:37:27 +0000 (17:37 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sat, 10 Apr 2010 22:06:33 +0000 (18:06 -0400)
Reported by Dagobert Michelsen at
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>.
* THANKS (Dagobert Michelsen): Add.
* configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
Autoconf macro for handling the restrict keyword.
* gnulib: Update to latest, which no longer overrides that macro
from Autoconf.
(cherry picked from commit 4333ba11c65f428040d54820b6d4c6aa663944d2)

Conflicts:

configure.ac

ChangeLog
THANKS
configure.ac
gnulib

index f093f2d13ac60734a20c204f3ce67649e8328d9e..bb9523d11ef706058f4fecd014dc2d0a978ef2a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-04-10  Joel E. Denny  <joeldenny@joeldenny.org>
+
+       tests: fix for newer Sun Studio C++.
+       Reported by Dagobert Michelsen at
+       <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>.
+       * THANKS (Dagobert Michelsen): Add.
+       * configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
+       Autoconf macro for handling the restrict keyword.
+       * gnulib: Update to latest, which no longer overrides that macro
+       from Autoconf.
+
 2010-04-03  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        portability: fix pointer arithmetic to conform to C standard.
diff --git a/THANKS b/THANKS
index a417bbc0e981e142f20f3c4e1d9d53a46c66d6df..75a09bcedbe7e0b38f75eb5cd97c820e84cc2cde 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -24,6 +24,7 @@ Christian Burger          cburger@sunysb.edu
 Cris Bailiff              c.bailiff+bison@awayweb.com
 Cris van Pelt             cris@amf03054.office.wxs.nl
 Csaba Raduly              csaba_22@yahoo.co.uk
+Dagobert Michelsen        dam@baltic-online.de
 Daniel Hagerty            hag@gnu.org
 David J. MacKenzie        djm@gnu.org
 Derek M. Jones            derek@knosof.co.uk
index df6072f3b769c5302f9cb0b37c8e1a9d8c5176a0..b0d6c5b0b5dae775de4574821f346fbfd76f1974 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# testsuite -C appears in 2.62.
-AC_PREREQ(2.62)
+# In order for some versions of Sun Studio to compile our C++ test cases
+# correctly, we need Autoconf 2.64 or better to handle the restrict
+# keyword in at least string.h from gnulib.
+AC_PREREQ(2.64)
 
 AC_INIT([GNU Bison],
         m4_esyscmd([build-aux/git-version-gen .tarball-version]),
diff --git a/gnulib b/gnulib
index 7bacd338464a463f3ba0c14effd86b71ce3672b4..1778ee9e7d0e150a37db66a0e51c1a56755aab4f 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 7bacd338464a463f3ba0c14effd86b71ce3672b4
+Subproject commit 1778ee9e7d0e150a37db66a0e51c1a56755aab4f