From: Stepan Kasal Date: Mon, 27 Jun 2005 12:28:10 +0000 (+0000) Subject: * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54065c50eb90a07acbca03af6fbb595239f896c0;p=thirdparty%2Flibtool.git * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize. --- diff --git a/ChangeLog b/ChangeLog index bd352da7e..511aab964 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-27 Stepan Kasal + + * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace + AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize. + 2005-06-27 Ralf Wildenhues * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4 index df89eb125..5427db85d 100644 --- a/m4/ltoptions.m4 +++ b/m4/ltoptions.m4 @@ -36,7 +36,7 @@ m4_define([_LT_IF_OPTION], # --------------------------------------- # Execute IF-NOT-SET if all OPTIONS are not set. m4_define([_LT_UNLESS_OPTIONS], -[AC_FOREACH([_LT_Option], [$1], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$1])), [m4_ifdef(_LT_MANGLE_OPTION(_LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$2 @@ -51,7 +51,7 @@ m4_ifdef([$0_found], [m4_undefine([$0_found])], [$2 # dispatch to that macro; otherwise complain about the unknown option # and exit. m4_define([_LT_SET_OPTIONS], -[AC_FOREACH([_LT_Option], [$1], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$1])), [_LT_SET_OPTION(_LT_Option) m4_ifdef(_LT_MANGLE_DEFUN(_LT_Option), _LT_MANGLE_DEFUN(_LT_Option),