]> git.saurik.com Git - bison.git/commitdiff
tests: link lib/libbison.a for gnulib.
authorJoel E. Denny <jdenny@clemson.edu>
Mon, 1 Feb 2010 20:54:41 +0000 (15:54 -0500)
committerJoel E. Denny <jdenny@clemson.edu>
Mon, 1 Feb 2010 20:54:41 +0000 (15:54 -0500)
This solves a problem on Solaris 2.7 where the testsuite needs
at least gnulib's rpl_fopen.  Reported by Albert Chin at
<http://lists.gnu.org/archive/html/bug-bison/2010-02/msg00001.html>.
* NEWS (2.4.2): Document.
* tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add
lib/libbison.a.

ChangeLog
NEWS
tests/atlocal.in

index 8f66aced82c8b362fb3905f3ac1a0c3b2931678d..b54880bef1c460c9cde1c89bc3400c3973f45b1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-02-01  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       tests: link lib/libbison.a for gnulib.
+       This solves a problem on Solaris 2.7 where the testsuite needs
+       at least gnulib's rpl_fopen.  Reported by Albert Chin at
+       <http://lists.gnu.org/archive/html/bug-bison/2010-02/msg00001.html>.
+       * NEWS (2.4.2): Document.
+       * tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add
+       lib/libbison.a.
+
 2010-01-22  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Prepare for 2.4.2 release.
diff --git a/NEWS b/NEWS
index 7cb3d4e255da76d18f919e35e5d704d39ab24676..9b33d13f0bb222c658ab46970324975e92596034 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,9 @@ Bison News
 
 * Changes in version 2.4.2 (????-??-??):
 
+** Some portability problems in the testsuite that resulted in failures
+   on at least Solaris 2.7 have been fixed.
+
 ** `%prec IDENTIFIER' requires IDENTIFIER to be defined separately.
 
   POSIX specifies that an error be reported for any identifier that does
index fc81849037e335b7547a7723a7e2d7b674cbdbbe..817720941ebe9df103595982b209a48472a07153 100644 (file)
@@ -28,7 +28,7 @@ CXXFLAGS='@O0CXXFLAGS@ @WARN_CXXFLAGS_TEST@ @WERROR_CFLAGS@'
 LDFLAGS='@LDFLAGS@'
 
 # Are special libraries needed?
-LIBS='@LIBS@ @INTLLIBS@'
+LIBS="$abs_top_builddir/lib/libbison.a @LIBS@ @INTLLIBS@"
 
 # Empty if no javac was found
 CONF_JAVAC='@CONF_JAVAC@'