X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/6e86b7cb0de5ef32ab977f0742301ebfd2a4f163..2e73a3913ac0e08253254477c444aeeb1b815943:/m4/utils.m4 diff --git a/m4/utils.m4 b/m4/utils.m4 index 0939e74..32f3246 100644 --- a/m4/utils.m4 +++ b/m4/utils.m4 @@ -1,4 +1,4 @@ -dnl Copyright © 2015 Nick Bowler +dnl Copyright © 2015, 2018 Nick Bowler dnl dnl Assorted helper macros dnl @@ -8,4 +8,4 @@ dnl There is NO WARRANTY, to the extent permitted by law. dnl DX_DO(arg, ...) dnl Expand each argument in sequence, inserting newlines between them. -AC_DEFUN([DX_DO], [m4_do([$1], [m4_map([m4_newline], m4_cdr($@))])]) +AC_DEFUN([DX_DO], [m4_do([$1], [m4_map_args([m4_newline], m4_shift($@))])])