From: Ralf Wildenhues Date: Sun, 22 Jul 2007 09:06:23 +0000 (+0000) Subject: * tests/subst.test: Move the AC_SUBST into a macro definition. X-Git-Tag: v1.10b~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d85de7baa9edf21c56401db3d25ef8a8e8d7797;p=thirdparty%2Fautomake.git * tests/subst.test: Move the AC_SUBST into a macro definition. Avoids an error from CVS Autoconf. * THANKS: Update. Report by Benoit Sigoure. --- diff --git a/ChangeLog b/ChangeLog index 406a6609a..b6a83893a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-22 Noah Misch + + * tests/subst.test: Move the AC_SUBST into a macro definition. + Avoids an error from CVS Autoconf. + * THANKS: Update. + Report by Benoit Sigoure. + 2007-07-22 Ralf Wildenhues Alexandre Duret-Lutz diff --git a/THANKS b/THANKS index f0768a0bc..7a4a71b2e 100644 --- a/THANKS +++ b/THANKS @@ -28,6 +28,7 @@ Assar Westerlund assar@sics.se Axel Belinfante Axel.Belinfante@cs.utwente.nl Bas Wijnen shevek@fmf.nl Ben Pfaff blp@cs.standford.edu +Benoit Sigoure tsuna@lrde.epita.fr Bernard Giroud bernard.giroud@creditlyonnais.ch Bernard Urban Bernard.Urban@meteo.fr Bernd Jendrissek berndfoobar@users.sourceforge.net diff --git a/tests/subst.test b/tests/subst.test index 33e925d4a..a72af85dd 100755 --- a/tests/subst.test +++ b/tests/subst.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2007 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -24,8 +24,14 @@ . ./defs || exit 1 cat >> configure.in << 'END' -AC_SUBST($1) -AC_SUBST([$]$1) dnl this is the actual invocation that was used +dnl This test used to have the following lines, which cannot have +dnl worked sensibly with Autoconf for years, however: +dnl AC_SUBST($1) +dnl AC_SUBST([$]$1) dnl this is the actual invocation that was used +dnl +AC_DEFUN([FOO], +[AC_SUBST([$1])]) +FOO([BAR]) END : > Makefile.am