* tests/defs (configure.in): Quote macro arguments.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 20 May 2002 17:55:48 +0000 (17:55 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 20 May 2002 17:55:48 +0000 (17:55 +0000)
Reported by Nicolas Joly.

ChangeLog
tests/defs

index 0fef413..780a951 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
+       * tests/defs (configure.in): Quote macro arguments.
+       Reported by Nicolas Joly.
+
+2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
        * lib/am/header-vars.am (build_triplet, host_triplet,
        target_triplet): Define.  Were removed by mistake on 2002-04-13.
 
index 45bf2f8..9413d43 100644 (file)
@@ -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.