[kaffe] basic support for gcc __attributes__

Adam Heath doogie@debian.org
Sun Mar 28 18:14:02 2004


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---284394836-199023647-1080508995=:2590
Content-Type: TEXT/PLAIN; charset=US-ASCII

Attached you will find files to enable checking of __attribute__ in configure.
Apply to cvs.

I'll be sending more patches to actually make use of these macros next.

---284394836-199023647-1080508995=:2590
Content-Type: TEXT/plain; name="configure.ac.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0403281523150.2590@yakko.doogie.org>
Content-Description: 
Content-Disposition: attachment; filename="configure.ac.diff"

SW5kZXg6IGNvbmZpZ3VyZS5hYw0KPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K
UkNTIGZpbGU6IC9jdnMva2FmZmUva2FmZmUvY29uZmlndXJlLmFjLHYNCnJl
dHJpZXZpbmcgcmV2aXNpb24gMS4yDQpkaWZmIC11IC1yMS4yIGNvbmZpZ3Vy
ZS5hYw0KLS0tIGNvbmZpZ3VyZS5hYwkyNCBNYXIgMjAwNCAxODo0MTo0NyAt
MDAwMAkxLjINCisrKyBjb25maWd1cmUuYWMJMjggTWFyIDIwMDQgMjE6MTM6
NTMgLTAwMDANCkBAIC0xMTYsNyArMTE2LDExIEBADQogQVhfQ0ZMQUdTX0dD
Q19PUFRJT04oWy1XaW5saW5lXSkNCiBBWF9DRkxBR1NfR0NDX09QVElPTihb
LVdsb25nLWxvbmddKQ0KIEFYX0NGTEFHU19HQ0NfT1BUSU9OKFstV2Rpc2Fi
bGVkLW9wdGltaXphdGlvbl0pDQotDQorR0NDX0FUVFJJQlVURV9DT05TVA0K
K0dDQ19BVFRSSUJVVEVfTk9SRVRVUk4NCitHQ0NfQVRUUklCVVRFX1VOVVNF
RA0KK0dDQ19BVFRSSUJVVEVfRk9STUFUDQorCSANCiBpZiB0ZXN0ICIkR0ND
IiAhPSAieWVzIjsgdGhlbg0KIAlBQ19NU0dfRVJST1IoW0thZmZlIGNhbiBv
bmx5IGJ1aWxkIHdpdGggR0NDXSkNCiBmaQ0K
---284394836-199023647-1080508995=:2590
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="gcc_attribute.m4"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0403281523151.2590@yakko.doogie.org>
Content-Description: 
Content-Disposition: attachment; filename="gcc_attribute.m4"

ZG5sIENBQ0hFRF9UUllfQ09NUElMRSg8ZGVzY3JpcHRpb24+LDxjYWNoZXZh
cj4sPGluY2x1ZGU+LDxwcm9ncmFtPiw8aWZ5ZXM+LDxpZm5vPikNCkFDX0RF
RlVOKFtDQUNIRURfVFJZX0NPTVBJTEVdLFsNCiBBQ19NU0dfQ0hFQ0tJTkco
JDEpDQogQUNfQ0FDSEVfVkFMKCQyLFsNCiAgQUNfVFJZX0NPTVBJTEUoWyQz
XSxbJDRdLFskMj15ZXNdLFskMj1ub10pDQogXSkNCiBpZiB0ZXN0ICJ4JCQy
IiA9IHh5ZXM7IHRoZW4NCiAgdHJ1ZQ0KICAkNQ0KIGVsc2UNCiAgdHJ1ZQ0K
ICAkNg0KIGZpDQpdKQ0KDQpkbmwgR0NDX0FUVFJJQlVURSg8c2hvcnQtbGFi
ZWw+LDxjYWNoZXZhcj4sPGZ1bmMtcGFyYW1zPiw8YXR0cmlidXRlPiw8SEFW
RT4sPGRlc2M+LFs8dHJ1ZS1jbWRzPl0sWzxmYWxzZS1jbWRzPl0pDQpBQ19E
RUZVTihbR0NDX0FUVFJJQlVURV0sWw0KICBDQUNIRURfVFJZX0NPTVBJTEUo
X19hdHRyaWJ1dGVfXygoJDEpKSxjdl9jX2djY19hdHRyaWJ1dGVfJDIsLA0K
ICAgW2V4dGVybiBpbnQgdGVzdGZ1bmN0aW9uKCQzKSBfX2F0dHJpYnV0ZV9f
KCgkNCkpXSwNCiAgIEFDX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