]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
authorStepan Kasal <kasal@ucw.cz>
Mon, 27 Jun 2005 12:28:10 +0000 (12:28 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 27 Jun 2005 12:28:10 +0000 (12:28 +0000)
AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.

ChangeLog
m4/ltoptions.m4

index bd352da7e03e8cc88ed960d7b4ac9ee6291ae279..511aab9640a3dcc93f33655ac82acc11dccc85a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-27  Stepan Kasal  <kasal@ucw.cz>
+
+       * 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  <Ralf.Wildenhues@gmx.de>
 
        * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround
index df89eb1256a4e5b86353bf0c0326085fc76238e3..5427db85d817d5b586df1a6303dacfa0bf963ee7 100644 (file)
@@ -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),