diff options
author | Eric Blake <ebb9@byu.net> | 2008-03-24 15:49:13 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-03-24 15:49:13 -0600 |
commit | 89e1c326f2eb19c322ef8add2a835cc9b6f4abe9 (patch) | |
tree | 0677ad58616e512596234051e5af0139a8482e8c | |
parent | 972ddeee22b68ea8808ac8d83dffe557bbcb6e4c (diff) | |
download | m4-89e1c326f2eb19c322ef8add2a835cc9b6f4abe9.tar.gz |
Tweak wording to point to autoconf patch.
Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r-- | NEWS | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -11,16 +11,22 @@ Foundation, Inc. ** Fix the `m4wrap' builtin to accumulate wrapped text in FIFO order, as required by POSIX. The manual mentions a way to restore the LIFO order present in earlier GNU M4 versions. NOTE: this change exposes a bug - in Autoconf 2.59 and earlier (which was fixed in Autoconf 2.60). If - you still need to use older autoconf, then add these lines to your - project's configure.ac, prior to calling AC_INIT: + in Autoconf 2.59 and earlier (which was fixed in Autoconf 2.60). + + If you want your package to work with pre-installed Autoconf without + requiring 2.60, then add these lines to your project's configure.ac, + prior to calling AC_INIT: + # As long as this project is not ready to upgrade to autoconf 2.60 # or newer, make sure that newer M4 will still use LIFO order: - m4_define([m4_wrap], - [m4_ifdef([_$0_text], - [m4_define([_$0_text], [$1]m4_defn([_$0_text]))], - [m4_define([_$0_text], [$1])m4_builtin([m4wrap], - [m4_default(m4_defn([_$0_text])m4_undefine([_$0_text]))])])]) + m4_define([m4_wrap], [m4_ifdef([_$0_text], + [m4_define([_$0_text], [$1]m4_defn([_$0_text]))], + [m4_define([_$0_text], [$1])m4_builtin([m4wrap], + [m4_default(m4_defn([_$0_text])m4_undefine([_$0_text]))])])]) + + On the other hand, if you want to install Autoconf 2.59 or earlier, + then apply this patch: + http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=56d42fa71 ** Enhance the `ifdef', `ifelse', and `shift' builtins, as well as all user macros, to transparently handle builtin tokens generated by `defn'. |