autoconf-patches
[Top][All Lists]
Advanced

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

RE: Multi-Line Definitions


From: Ralf Corsepius
Subject: RE: Multi-Line Definitions
Date: Wed, 19 Sep 2007 08:18:06 +0200

On Tue, 2007-09-18 at 15:17 -0600, Eric Lemings wrote:
> 
> > -----Original Message-----
> > From: Ralf Wildenhues [mailto:address@hidden 
> > Sent: Tuesday, September 18, 2007 1:32 PM
> > To: Eric Lemings; address@hidden
> > Cc: address@hidden
> > Subject: Re: Multi-Line Definitions
> > 
> > Hello Eric,
> > 
> > * Eric Lemings wrote on Mon, Sep 17, 2007 at 11:53:23PM CEST:
> > > 
> > > I have a Autoconf M4 macro that defines a multi-line preprocessor
> > > symbol.
> > [...]
> > > How hard would it be to handle such macro definitions?  Is it even
> > > possible?
> > 
> > Multi-line AC_DEFINEs are not supported currently.  Recently (in
> > Autoconf 2.60), support for multi-line AC_SUBSTs has been implemented.

> > Here it is useful to consider that users may generate output 
> > files that
> > will not be input to a C preprocessor, but some other, 
> > similar language.
> 
> True.  In that case, perhaps the behavior should be language-dependent?
No, AC_DEFINE => c/c++ preprocessor, only.

If you're using them elsewhere, something is broken with your use-case.

Ralf







reply via email to

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