autoconf
[Top][All Lists]
Advanced

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

Re: Examples of multi-line AC_DEFINEs?


From: Ralf Wildenhues
Subject: Re: Examples of multi-line AC_DEFINEs?
Date: Sat, 26 Apr 2008 02:01:23 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Eric Lemings wrote on Fri, Apr 25, 2008 at 05:17:16PM CEST:
>  
> In section 7.1, the GNU Autoconf 2.62 Manual says, "value may contain
> backslash-escaped newlines, which will be preserved if you use
> AC_CONFIG_HEADERS but flattened if passed via @DEFS@ (with no effect on
> the compilation, since the preprocessor sees only one line in the first
> place)."
>  
> I was just wondering if there are some examples of such usage somewhere,
> perhaps in the test suite, or elsewhere?

Yes, in autoconf/tests/torture.at (#define header templates) and
(Substitute and define special characters).

Cheers,
Ralf




reply via email to

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