autoconf-patches
[Top][All Lists]
Advanced

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

09test-AC_HELP_STRING.diff (was Re: 06AS_HELP_STRING-robust-to-commas.di


From: derek
Subject: 09test-AC_HELP_STRING.diff (was Re: 06AS_HELP_STRING-robust-to-commas.diff)
Date: Tue, 01 Apr 2003 18:25:05 +0000

Here you go, Akim.  This test will fail with the CVS version of Autoconf and
pass with 06AS_HELP_STRING-robust-to-commas.diff applied, with or without the
noop change you pointed out, as you surmised.

I'm still looking into m4_dquote()ing the m4_format() call, as you suggested,
but straight replacement really messes things up.  Off the top of my head,
the results look like an m4_append() with a comma (`,') as a seperator.  I will
have to analyze the problem deeper to figure out why.

Index: ChangeLog
2003-04-01  Derek Price  <address@hidden>

        * tests/base.at (AC_HELP_STRING): New test.

Index: tests/base.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/base.at,v
retrieving revision 1.30
diff -u -r1.30 base.at
--- tests/base.at       8 Oct 2001 08:21:00 -0000       1.30
+++ tests/base.at       1 Apr 2003 18:06:45 -0000
@@ -230,3 +230,17 @@
 AT_CHECK_CONFIGURE([-q])
 
 AT_CLEANUP
+
+AT_SETUP([AC_HELP_STRING])
+
+AT_DATA([configure.ac],
+[[AC_INIT
+echo "AC_HELP_STRING([-r, --remote],
+[This is a dummy option that will hopefully wrap at approximately
+80 characters.], [                ])"
+]])
+
+AT_CHECK_AUTOCONF
+AT_CHECK_CONFIGURE
+
+AT_CLEANUP




reply via email to

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