autoconf-patches
[Top][All Lists]
Advanced

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

Re: Autoheader @ interpolation


From: Carlos Velasco
Subject: Re: Autoheader @ interpolation
Date: Mon, 21 Oct 2002 13:54:19 +0200

Hi Akim,

try to do it this way:

AH_TOP([Email: address@hidden)

In the tests below you use the "@" with space before.

However, the patch I provided does not work, as the function patched is also 
used by Quadrigraphs.

Please, let me know if you can reproduce the problem.

Regards,
Carlos Velasco

*********** REPLY SEPARATOR  ***********

On 17/10/2002 at 11:57 Akim Demaille wrote:

>| Hi,
>| I was trying to upgrade an old file when I stepped into this bug.
>| Using AH_TOP to include a header into the template file resulted on:
>|
>| couldn't parse /tmp/ah79k8w8/traces.pl: In string, @andrew now must be
>written as address@hidden at /tmp/ah79k8w8/traces.pl line 22, near "@andrew"
>|
>| I have searched for this error:
>|
>| http://perl.plover.com/at-error.html
>|
>| It seems that autoheader is not parsing "@" to "\@" when passing the
>string to perl.
>
>I have tried to reproduce the bug you are referring to, but it
>passes.  Could you provide a configure.ac that exhibits the problem?
>
>Index: ChangeLog
>from  Akim Demaille  <address@hidden>
>
>       * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
>
>Index: tests/tools.at
>===================================================================
>RCS file: /cvsroot/autoconf/autoconf/tests/tools.at,v
>retrieving revision 1.66
>diff -u -u -r1.66 tools.at
>--- tests/tools.at 16 Oct 2002 17:06:57 -0000 1.66
>+++ tests/tools.at 17 Oct 2002 09:56:42 -0000
>@@ -458,9 +458,14 @@
> AC_CONFIG_HEADERS(config.h:config.hin)
> AH_TOP([Top1 from configure.ac.])
> AH_TOP([Top2 from configure.ac.])
>+AH_TOP([The Cat in a @.])
> AH_VERBATIM([Middle], [Middle from configure.ac.])
>+AH_VERBATIM([Mouse],  [The Mouse in a @.])
> AH_BOTTOM([Bottom1 from configure.ac.])
> AH_BOTTOM([Bottom2 from configure.ac.])
>+AH_BOTTOM([The Dog in a @.])
>+
>+AC_DEFINE([ANT], address@hidden, [The Ant in a @.])
> ]])
>
>
>@@ -479,8 +484,15 @@
>
> Top2 from configure.ac.
>
>+The Cat in a @.
>+
>+/* The Ant in a @. */
>+#undef ANT
>+
> Middle from configure.ac.
>
>+The Mouse in a @.
>+
> /* Define to the address where bug reports for this package should be
>sent. */
> #undef PACKAGE_BUGREPORT
>
>@@ -499,6 +511,8 @@
> Bottom1 from configure.ac.
>
> Bottom2 from configure.ac.
>+
>+The Dog in a @.
> /* Bottom from acconfig.h. */
> ]])







reply via email to

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