Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] multiple inclusion protection with eclasses
Date: Fri, 09 Dec 2011 18:03:03
Message-Id: CAAr7Pr_v8HTfL6tJH82ch-pv-EaNAoMa_QzhYQaMS7W-S4NBzQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] multiple inclusion protection with eclasses by Mike Frysinger
1 I'd prefer something from figlet myself.
2
3 -A
4
5 On Fri, Dec 9, 2011 at 9:02 AM, Mike Frysinger <vapier@g.o> wrote:
6 > On Thursday 08 December 2011 23:40:12 Michał Górny wrote:
7 >> On Thu, 8 Dec 2011 17:24:09 -0500 Mike Frysinger wrote:
8 >> > simply put, it's the same thing as doing standard #ifdef logic in
9 >> > headers to protect against multiple inclusion errors.  on to the
10 >> > example:
11 >> >
12 >> > +___ECLASS_ONCE_AUTOTOOLS="recur -_+^+_- spank"
13 >>
14 >> If you want alike CPP, why don't you name it:
15 >>       _AUTOTOOLS_ECLASS=1
16 >
17 > that's not my preferred CPP naming style :p
18 > -mike