From: Ralf Wildenhues Date: Tue, 19 Feb 2008 21:15:03 +0000 (+0100) Subject: PR automake/498 X-Git-Tag: v1.10b~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fd5b0995be16cc6bba6ee5ec9e52f86ce97add8;p=platform%2Fupstream%2Fautomake.git 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. --- diff --git a/ChangeLog b/ChangeLog index 204419823..c2ffb4893 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 34c086d00..8e5017e8c 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]) # -------------------------------------------