From d093cf8cbd50c8fa888640b8487e3f517063aa28 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Mon, 1 Feb 2010 15:54:41 -0500 Subject: [PATCH] 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 . * NEWS (2.4.2): Document. * tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add lib/libbison.a. --- ChangeLog | 10 ++++++++++ NEWS | 3 +++ tests/atlocal.in | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8f66aced..b54880be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2010-02-01 Joel E. Denny + + 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 + . + * 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 Prepare for 2.4.2 release. diff --git a/NEWS b/NEWS index 7cb3d4e2..9b33d13f 100644 --- 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 diff --git a/tests/atlocal.in b/tests/atlocal.in index fc818490..81772094 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -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@' -- 2.50.0