Revert prior patch, by working around autoconf regression.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 7 May 2008 02:53:15 +0000 (02:53 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 7 May 2008 02:53:15 +0000 (02:53 +0000)
* 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.

ChangeLog
tests/output.at

index dc005002f1c41c00134464d6ec81195977851c8d..35eab3b3d32d0ed247e8142ad6f568e9005fc5f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-23  Eric Blake  <ebb9@byu.net>
+
+       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  <jdenny@ces.clemson.edu>
 
        Work-around an Autoconf 2.62 AT_SETUP bug that was not present in
index e1e4dc4c88d6fa2fefae3512d458097dfcab5240..6e21dc933b9df304a441edf14a200268dff1a151 100644 (file)
@@ -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([[`~!@#$%^&*()-=_+{}[]|\:;<>, .']])
-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([[@{]])