RE: Multi-Line Definitions

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

 



On Tue, 2007-09-18 at 15:17 -0600, Eric Lemings wrote:
> 
> > -----Original Message-----
> > From: Ralf Wildenhues [mailto:Ralf.Wildenhues@xxxxxx] 
> > Sent: Tuesday, September 18, 2007 1:32 PM
> > To: Eric Lemings; autoconf-patches@xxxxxxx
> > Cc: autoconf@xxxxxxx
> > 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





_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux