Mercurial > hg > octave-nkf > gnulib-hg
changeset 9517:99c2bf7a97ee
Support versions of autoconf prior to 2.59c.
* gnulib-tool (func_emit_initmacro_done): Define m4_foreach_w
if it is not already defined.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 06 Dec 2007 21:00:24 +0100 |
parents | 020ae1c236a0 |
children | 00df6d20cd95 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-11 Jim Meyering <meyering@redhat.com> + + Support versions of autoconf prior to 2.59c. + * gnulib-tool (func_emit_initmacro_done): Define m4_foreach_w + if it is not already defined. + 2007-12-09 Bruno Haible <bruno@clisp.org> Let 'gnulib-tool --import' collect sources needed for the tests in
--- a/gnulib-tool +++ b/gnulib-tool @@ -2015,6 +2015,13 @@ echo " ${macro_prefix_arg}_LIBOBJS=\"\$${macro_prefix_arg}_LIBOBJS \$1.\$ac_objext\"" echo "])" echo + echo "# m4_foreach_w is provided by autoconf-2.59c and later." + echo "# This definition is to accommodate developers using versions" + echo "# of autoconf older than that." + echo "m4_ifndef([m4_foreach_w]," + echo " [m4_define([m4_foreach_w]," + echo " [m4_foreach([\$1], m4_split(m4_normalize([\$2]), [ ]), [\$3])])])" + echo echo "# Like AC_REPLACE_FUNCS, except that the module name goes" echo "# into ${macro_prefix_arg}_LIBOBJS instead of into LIBOBJS." echo "AC_DEFUN([${macro_prefix_arg}_REPLACE_FUNCS], ["