Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] multiple inclusion protection with eclasses
Date: Fri, 09 Dec 2011 04:40:52
Message-Id: 20111209054012.322476dc@pomiocik.lan
In Reply to: [gentoo-dev] multiple inclusion protection with eclasses by Mike Frysinger
1 On Thu, 8 Dec 2011 17:24:09 -0500
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > simply put, it's the same thing as doing standard #ifdef logic in
5 > headers to protect against multiple inclusion errors. on to the
6 > example:
7 >
8 > +___ECLASS_ONCE_AUTOTOOLS="recur -_+^+_- spank"
9
10 If you want alike CPP, why don't you name it:
11 _AUTOTOOLS_ECLASS=1
12
13 Looks unlikely enough.
14
15 --
16 Best regards,
17 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] multiple inclusion protection with eclasses Mike Frysinger <vapier@g.o>