diff options
author | Joel E. Denny <jdenny@ces.clemson.edu> | 2008-07-15 21:00:36 -0400 |
---|---|---|
committer | Joel E. Denny <jdenny@ces.clemson.edu> | 2008-07-15 21:00:36 -0400 |
commit | a9fc7990fac9294374dd5e723c1e2609079cddcb (patch) | |
tree | 0eeef5e06fb6400bbd55f2ac35769f9359a2fdd1 /m4 | |
parent | 0f1d6f10d76a4510cc179ee0bce7a2fd18019069 (diff) | |
download | bison-a9fc7990fac9294374dd5e723c1e2609079cddcb.tar.gz |
Improve forward-compatibility with GNU M4.
Reported by Eric Blake at
<http://lists.gnu.org/archive/html/bug-bison/2008-07/msg00000.html>.
* bootstrap.conf (gnulib_modules): Add unsetenv.
* lib/.gitignore, lib/.cvsignore (/unsetenv.c): Add.
* m4/.gitignore, m4/.cvsignore (/environ.m4): Add.
(/setenv.m4): Add.
* src/output.c (output_skeleton): For the m4 invocation, pass -dV as
the first argument because it may become position-dependent, and unset
POSIXLY_CORRECT so Bison's skeletons have access to GNU M4 extensions.
Add comments explaining these issues in more detail.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/.cvsignore | 2 | ||||
-rw-r--r-- | m4/.gitignore | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/m4/.cvsignore b/m4/.cvsignore index 02485e8b..15c7a546 100644 --- a/m4/.cvsignore +++ b/m4/.cvsignore @@ -4,6 +4,7 @@ config-h.m4 dirname.m4 dos.m4 double-slash-root.m4 +environ.m4 error.m4 exitfail.m4 extensions.m4 @@ -37,6 +38,7 @@ po.m4 progtest.m4 quote.m4 quotearg.m4 +setenv.m4 stdbool.m4 stdint.m4 stdint_h.m4 diff --git a/m4/.gitignore b/m4/.gitignore index d09e90cf..a01aaf7b 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -4,6 +4,7 @@ /dirname.m4 /dos.m4 /double-slash-root.m4 +/environ.m4 /error.m4 /exitfail.m4 /extensions.m4 @@ -37,6 +38,7 @@ /progtest.m4 /quote.m4 /quotearg.m4 +/setenv.m4 /stdbool.m4 /stdint.m4 /stdint_h.m4 |