From: Ben Elliston Date: Sat, 25 Sep 1999 23:59:00 +0000 (+0000) Subject: 1999-09-26 Ben Elliston X-Git-Tag: trunk-pre-merge-trunk-into-experimental-1999-10-01~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b5651c9110f12639065cc80b20eba4e595f86d;p=thirdparty%2Fautoconf.git 1999-09-26 Ben Elliston * acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from $ac_sources if this variable is otherwise empty. Fix for autoconf/30. --- diff --git a/ChangeLog b/ChangeLog index 04006bad..82afff6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-09-26 Ben Elliston + + * acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from + $ac_sources if this variable is otherwise empty. Fix for + autoconf/30. + 1999-09-25 Ben Elliston * autoconf.texi (AC_FUNC_SETVBUF): Do not mention which systems diff --git a/acgeneral.m4 b/acgeneral.m4 index 5bd478bd..ff122f0d 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -2455,6 +2455,10 @@ EOF cat >> $CONFIG_STATUS <<\EOF srcdir=$ac_given_srcdir +# Remove spaces from $ac_sources if it is otherwise empty. +set -- $ac_sources +ac_sources=[$]* + while test -n "$ac_sources"; do set $ac_dests; ac_dest=[$]1; shift; ac_dests=[$]* set $ac_sources; ac_source=[$]1; shift; ac_sources=[$]* diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 5bd478bd..ff122f0d 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2455,6 +2455,10 @@ EOF cat >> $CONFIG_STATUS <<\EOF srcdir=$ac_given_srcdir +# Remove spaces from $ac_sources if it is otherwise empty. +set -- $ac_sources +ac_sources=[$]* + while test -n "$ac_sources"; do set $ac_dests; ac_dest=[$]1; shift; ac_dests=[$]* set $ac_sources; ac_source=[$]1; shift; ac_sources=[$]*