summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-12-15 00:15:41 -0500
committerJoel E. Denny <jdenny@clemson.edu>2009-12-15 18:30:34 -0500
commitfb9a3976c2430adf4787730fb7b26af82eb880fe (patch)
treea5123a279b346815d4c8d3dc1bb648e820ec2567 /HACKING
parentf1fb412cf39bc9e58f6046675c720dc6bbceec91 (diff)
downloadbison-fb9a3976c2430adf4787730fb7b26af82eb880fe.tar.gz
portability: use -DGNULIB_POSIXCHECK.
Reported by Eric Blake. See discussions at <http://lists.gnu.org/archive/html/bug-bison/2009-09/msg00008.html> and <http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00108.html>. * HACKING (Release checks): Suggest -DGNULIB_POSIXCHECK. * bootstrap.conf (gnulib_modules): Add all the printf modules suggested by -DGNULIB_POSIXCHECK. Add realloc-posix as suggested by -DGNULIB_POSIXCHECK for gnulib's own vasnprintf.c. (excluded_files): Remove m4/printf-posix.m4. * tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add lib/libbison.a so gnulib libraries can be linked. (cherry picked from commit 5c99151aeb4396bf35b482e27075948c33088afa) Conflicts: lib/.cvsignore lib/.gitignore m4/.cvsignore m4/.gitignore
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING3
1 files changed, 3 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 82f07bb4..4edb98b8 100644
--- a/HACKING
+++ b/HACKING
@@ -172,6 +172,9 @@ release:
that 1. Bison compiles cleanly, 2. the parsers it produces compile
cleanly too.
+- Build with -DGNULIB_POSIXCHECK. It suggests gnulib modules that can
+ fix portability issues.
+
- run `make maintainer-check' which:
- runs `valgrind -q bison' to run Bison under Valgrind.
- runs the parsers under Valgrind.