bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difficulties running the test suite.


From: Eric Blake
Subject: Re: Difficulties running the test suite.
Date: Wed, 23 Apr 2008 15:49:52 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Joel E. Denny <jdenny <at> ces.clemson.edu> writes:

> 
> I see the problem when I upgrade to Autoconf 2.62.  I committed the 
> following as a work-around.  Thanks for the report.

Here's the workaround that will let you use autoconf 2.62 and still enable the 
test:

>From 14ce245867b3d9321d03589f1b0f6c961ea43e73 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Wed, 23 Apr 2008 09:44:23 -0600
Subject: [PATCH] Revert prior patch, by working around autoconf regression.

* tests/output.at (m4_expand): Add workaround for autoconf 2.62.
("Output file name: ("): Uncomment test.
("Output file name: )"): Likewise.
Based on an idea from Noah Misch.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog       |    8 ++++++++
 tests/output.at |   10 +++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc00500..35eab3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-23  Eric Blake  <address@hidden>
+
+       Revert prior patch, by working around autoconf regression.
+       * tests/output.at (m4_expand): Add workaround for autoconf 2.62.
+       ("Output file name: ("): Uncomment test.
+       ("Output file name: )"): Likewise.
+       Based on an idea from Noah Misch.
+
 2008-04-21  Joel E. Denny  <address@hidden>
 
        Work-around an Autoconf 2.62 AT_SETUP bug that was not present in
diff --git a/tests/output.at b/tests/output.at
index e1e4dc4..6e21dc9 100644
--- a/tests/output.at
+++ b/tests/output.at
@@ -186,9 +186,13 @@ AT_CLEANUP
 # Notice that the header file name here cannot contain
 # `"' since FILENAME in `#include "FILENAME"' cannot.
 AT_CHECK_OUTPUT_FILE_NAME(address@hidden&*()-=_+{}[]|\:;<>, .']])
-dnl Autoconf 2.62's AT_SETUP can't handle these, but they worked fine in 2.61.
-dnl AT_CHECK_OUTPUT_FILE_NAME([[(]])
-dnl AT_CHECK_OUTPUT_FILE_NAME([[)]])
+dnl Work around a bug in m4_expand that broke AT_SETUP in autoconf 2.62,
+dnl by using the definition from 2.63.
+m4_define([m4_expand], [_$0(-=<{($1)}>=-)])
+m4_define([_m4_expand],
+[m4_changequote([-=<{(], [)}>=-])$1m4_changequote([, ])])
+AT_CHECK_OUTPUT_FILE_NAME([[(]])
+AT_CHECK_OUTPUT_FILE_NAME([[)]])
 AT_CHECK_OUTPUT_FILE_NAME([[#]])
 AT_CHECK_OUTPUT_FILE_NAME([[@@]])
 AT_CHECK_OUTPUT_FILE_NAME(address@hidden)
-- 
1.5.5.1








reply via email to

[Prev in Thread] Current Thread [Next in Thread]