autoconf-patches
[Top][All Lists]
Advanced

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

Re: config files substitution with awk


From: Ralf Wildenhues
Subject: Re: config files substitution with awk
Date: Tue, 5 Dec 2006 19:57:10 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

> > >   * tests/torture.at (Torturing config.status): Test both the
> > >   result of AC_PROG_AWK and plain awk.
> > >   (Substitute a 2000-byte string): Likewise.
> > >   (Substitute and define special characters): Likewise.
> > >   (Substitute a newline): Likewise.

Apparently I forgot half of the work.  :-/
I've applied this obvious fix.

Cheers,
Ralf

        * tests/torture.at (Substitute a 2000-byte string): Actually use
        AC_PROG_AWK, so the last change works as intended.
        (Substitute and define special characters): Likewise.
        (Substitute a newline): Likewise.

Index: tests/torture.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/torture.at,v
retrieving revision 1.75
diff -u -r1.75 torture.at
--- tests/torture.at    5 Dec 2006 06:00:43 -0000       1.75
+++ tests/torture.at    5 Dec 2006 18:31:33 -0000
@@ -563,6 +563,7 @@
 AC_SUBST([bar], "]m4_for([n], 1, 100,, @ @ @ @ @ @ @ @ @ @@)[")
 AC_SUBST([baz], "]m4_for([n], 1, 4,, m4_for([m], 1, 25,, ... ... ... ... ....)
 )[")
+AC_PROG_AWK
 AC_CONFIG_FILES([Foo Bar Baz])
 AC_OUTPUT
 ]])
@@ -637,6 +638,7 @@
 file=File
 AC_SUBST_FILE([file])
 AC_DEFINE([foo], [[X*'[]+ ",& &`\($foo !]], [Awful value.])
+AC_PROG_AWK
 AC_CONFIG_FILES([Foo])]])
 
 AT_CHECK_AUTOCONF
@@ -680,6 +682,7 @@
 two'
 AC_SUBST([foo])
 AC_CONFIG_FILES([Foo])
+AC_PROG_AWK
 AC_OUTPUT
 ]])
 




reply via email to

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