+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.
# 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)
# -----------------------
# ----------------------------------
# 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])
# -------------------------------------------