diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-18 02:42:38 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-18 02:42:38 -0400 |
commit | 61317dac18a78b7b8420f354a59be896d60dd05c (patch) | |
tree | 9444480c4bfc9f9697ce1c4eb55e576975f3862a /acinclude.m4 | |
parent | cb10dfe7153eeac749c64ce6a61f2fd3faf385d0 (diff) |
[acinclude.m4] Define m4_foreach_w if not available
Has been missing at least as of autoconf 2.59.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index fdafe0baf..9ae1b8fd4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,8 +1,13 @@ dnl -*- mode: autoconf -*- dnl [m4_newline] didn't appear until autoconf 2.62 -m4_ifdef([m4_newline],,m4_define([m4_newline],[ -])) +m4_ifdef([m4_newline],,[m4_define([m4_newline],[ +])]) + +dnl [m4_foreach_w] wasn't available in 2.59 +m4_ifdef([m4_foreach_w],,[m4_define([m4_foreach_w], +[m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])]) + dnl ========================================================================== |