Accommodate developers using autoconf-2.59.

* configure.in (m4_foreach_w): Define if not defined.


Author: Jim Meyering <meyering@redhat.com>
This commit is contained in:
Jim Meyering 2007-12-05 23:02:13 +00:00
parent 87396257fc
commit d51e7c9ff0
2 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 5 23:57:53 CET 2007 Jim Meyering <meyering@redhat.com>
Accommodate developers using autoconf-2.59.
* configure.in (m4_foreach_w): Define if not defined.
Wed Dec 5 22:38:18 CET 2007 Jim Meyering <meyering@redhat.com> Wed Dec 5 22:38:18 CET 2007 Jim Meyering <meyering@redhat.com>
Include "config.h". Include "config.h".

View File

@ -33,6 +33,13 @@ AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_CPP AC_PROG_CPP
dnl gl_INIT uses m4_foreach_w, yet that is not defined in autoconf-2.59.
dnl In order to accommodate developers with such old tools, here's a
dnl replacement definition.
m4_ifndef([m4_foreach_w],
[m4_define([m4_foreach_w],
[m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])])
gl_EARLY gl_EARLY
gl_INIT gl_INIT