* m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator.

This commit is contained in:
Stepan Kasal 2005-06-27 14:55:14 +00:00 committed by Ralf Wildenhues
parent 54065c50eb
commit 3752b6dbfd
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2005-06-27 Stepan Kasal <kasal@ucw.cz>
* m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator.
* m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.

4
m4/ltsugar.m4 vendored
View File

@ -52,12 +52,12 @@ m4_define([lt_cdr],
# has the form PREFIXmINFIXSUFFIXn.
m4_define([lt_combine],
[m4_if([$2], [], [],
[lt_join(m4_quote(m4_default([$1], [, ])),
[lt_join(m4_quote(m4_default([$1], [[, ]])),
_$0([$1], lt_car($2)[$3], m4_shiftn(3, $@)),
$0([$1], lt_cdr($2), m4_shiftn(2, $@)))])])
m4_define([_lt_combine],
[m4_if([$3], [], [],
[lt_join(m4_quote(m4_default([$1], [, ])),
[lt_join(m4_quote(m4_default([$1], [[, ]])),
[$2$3],
$0([$1], [$2], m4_shiftn(3, $@)))])[]dnl
])