summaryrefslogtreecommitdiff
path: root/legacy/eet/m4/ac_attribute.m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2009-01-14 08:36:02 +0000
committerVincent Torri <vincent.torri@gmail.com>2009-01-14 08:36:02 +0000
commit8f4f9134d8045d6e8de0d48c9ffab605bf6c0e1c (patch)
tree464cc11869feb2b18d04aa5f36b26b81975782fd /legacy/eet/m4/ac_attribute.m4
parent6c94ab45be3ae2a234fff604d57b3fcc3161df6f (diff)
update ac_attribute.m4
SVN revision: 38578
Diffstat (limited to 'legacy/eet/m4/ac_attribute.m4')
-rw-r--r--legacy/eet/m4/ac_attribute.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/eet/m4/ac_attribute.m4 b/legacy/eet/m4/ac_attribute.m4
index 34bb4dbf2f..3926d23d56 100644
--- a/legacy/eet/m4/ac_attribute.m4
+++ b/legacy/eet/m4/ac_attribute.m4
@@ -3,7 +3,7 @@ dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
3dnl That code is public domain and can be freely used or copied. 3dnl That code is public domain and can be freely used or copied.
4dnl Originally snatched from somewhere... 4dnl Originally snatched from somewhere...
5 5
6dnl Macro for checking if the compiler supports __atribute__ 6dnl Macro for checking if the compiler supports __attribute__
7 7
8dnl Usage: AC_C___ATTRIBUTE__ 8dnl Usage: AC_C___ATTRIBUTE__
9dnl call AC_DEFINE for HAVE___ATTRIBUTE__ and __UNUSED__ 9dnl call AC_DEFINE for HAVE___ATTRIBUTE__ and __UNUSED__
@@ -21,14 +21,14 @@ AC_CACHE_VAL([ac_cv___attribute__],
21 [AC_TRY_COMPILE( 21 [AC_TRY_COMPILE(
22 [ 22 [
23#include <stdlib.h> 23#include <stdlib.h>
24 ], 24
25 [
26int func(int x); 25int func(int x);
27int foo(int x __attribute__ ((unused))) 26int foo(int x __attribute__ ((unused)))
28{ 27{
29 exit(1); 28 exit(1);
30} 29}
31 ], 30 ],
31 [],
32 [ac_cv___attribute__="yes"], 32 [ac_cv___attribute__="yes"],
33 [ac_cv___attribute__="no"] 33 [ac_cv___attribute__="no"]
34 )] 34 )]