bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS automake testsuite failures under Tru64 unix


From: Alexandre Duret-Lutz
Subject: Re: CVS automake testsuite failures under Tru64 unix
Date: 20 May 2002 19:55:26 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Akim" == Akim Demaille <address@hidden> writes:

[...]

 >> >  Nicolas> AC_INIT(sinclude, 0.0)

[...]

 Akim> I have not read the whole thread, but in the case of a non literal
 Akim> (i.e., not an Sh-free expression), it shoudn't matter.  In the case of
 Akim> an M4 literal, be sure to *double* quote, as you don't want sinclude
 Akim> to be evaluated.

 Akim> AC_INIT([[sinclude]], ...

 Akim> AC_INIT([[m4_define]], ...

Thanks.  I'm checking this in.

2002-05-17  Alexandre Duret-Lutz  <address@hidden>

        * tests/defs (configure.in): Quote macro arguments.
        Reported by Nicolas Joly.

Index: tests/defs
===================================================================
RCS file: /cvs/automake/automake/tests/defs,v
retrieving revision 1.46
diff -u -r1.46 defs
--- tests/defs  26 Mar 2002 09:38:47 -0000      1.46
+++ tests/defs  20 May 2002 17:51:49 -0000
@@ -52,12 +52,15 @@
 # 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.

-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]