From: Stepan Kasal Date: Mon, 27 Jun 2005 14:54:09 +0000 (+0000) Subject: * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator. X-Git-Tag: release-2-1b~624 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565e361593a06b7b4732c4f95405cf92f472be44;p=thirdparty%2Flibtool.git * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator. --- diff --git a/ChangeLog b/ChangeLog index 2895e7ecf..19d4ffd89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-06-27 Stepan Kasal + * 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. @@ -30,6 +32,7 @@ m4_car/m4_cdr with the fixed semantics of Autoconf-2.59c CVS, in order to work with 2.59. (lt_combine): Use it. + Reported by Christoph Egger . 2005-06-11 Ralf Menzel , Ralf Wildenhues diff --git a/m4/ltsugar.m4 b/m4/ltsugar.m4 index 69a131e34..bca66f06f 100644 --- a/m4/ltsugar.m4 +++ b/m4/ltsugar.m4 @@ -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 ])