From 2fd5b0995be16cc6bba6ee5ec9e52f86ce97add8 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 19 Feb 2008 22:15:03 +0100 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ m4/options.m4 | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2044198..c2ffb48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-02-19 Ralf Wildenhues + + 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 (tiny change) * lib/am/tags.am (ID): Fix typo in workaround for old awk. diff --git a/m4/options.m4 b/m4/options.m4 index 34c086d..8e5017e 100644 --- a/m4/options.m4 +++ b/m4/options.m4 @@ -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]) # ------------------------------------------- -- 2.7.4