PR automake/498
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 19 Feb 2008 21:15:03 +0000 (22:15 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 19 Feb 2008 21:15:03 +0000 (22:15 +0100)
* m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
obsolete AC_FOREACH.
Report by NightStrike and gurganbl@rose-hulman.edu.

ChangeLog
m4/options.m4

index 2044198..c2ffb48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR automake/498
+       * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
+       obsolete AC_FOREACH.
+       Report by NightStrike and gurganbl@rose-hulman.edu.
+
 2008-02-17  Colin Watson  <cjwatson@debian.org>  (tiny change)
 
        * lib/am/tags.am (ID): Fix typo in workaround for old awk.
index 34c086d..8e5017e 100644 (file)
@@ -1,12 +1,12 @@
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
+# serial 4
 
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
@@ -23,7 +23,7 @@ AC_DEFUN([_AM_SET_OPTION],
 # ----------------------------------
 # OPTIONS is a space-separated list of Automake options.
 AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 # -------------------------------------------