From: Alexandre Duret-Lutz Date: Mon, 20 May 2002 17:55:46 +0000 (+0000) Subject: * tests/defs (configure.in): Quote macro arguments. X-Git-Tag: Release-1-6b~99 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=eec17319aca3e2883b05a7682e4766b660adc77c;p=automake.git * tests/defs (configure.in): Quote macro arguments. Reported by Nicolas Joly. --- diff --git a/ChangeLog b/ChangeLog index 0fef413e..780a951c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-17 Alexandre Duret-Lutz + + * tests/defs (configure.in): Quote macro arguments. + Reported by Nicolas Joly. + 2002-05-17 Alexandre Duret-Lutz * lib/am/header-vars.am (build_triplet, host_triplet, diff --git a/tests/defs b/tests/defs index 45bf2f86..9413d43b 100644 --- a/tests/defs +++ b/tests/defs @@ -52,12 +52,15 @@ cd ./testSubDir # Don't use AC_OUTPUT, but AC_CONFIG_FILES so that appending # still produces a valid configure.ac. But then, tests running # config.status really need to append AC_OUTPUT. +# +# Double-quote `$me' in case it is also the name of +# an M4 macro (such as `sinclude'). cat > configure.in << END -AC_INIT($me, 1.0) +AC_INIT([[$me]], [1.0]) AM_INIT_AUTOMAKE AC_PROG_INSTALL AC_PROG_MAKE_SET -AC_CONFIG_FILES(Makefile) +AC_CONFIG_FILES([Makefile]) END # User can set PERL to change the perl interpreter used.