From: Joel E. Denny Date: Mon, 1 Feb 2010 20:54:41 +0000 (-0500) Subject: tests: link lib/libbison.a for gnulib. X-Git-Tag: v2.4.1b~4 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/d093cf8cbd50c8fa888640b8487e3f517063aa28?ds=sidebyside 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. --- 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@'