projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50cfcfc
)
Eina: big mistake in efl_attribute.m4. My bad
author
Vincent Torri
<vincent.torri@gmail.com>
Sun, 9 Oct 2011 19:27:08 +0000
(19:27 +0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Sun, 9 Oct 2011 19:27:08 +0000
(19:27 +0000)
SVN revision: 63934
legacy/eina/m4/efl_attribute.m4
patch
|
blob
|
history
diff --git
a/legacy/eina/m4/efl_attribute.m4
b/legacy/eina/m4/efl_attribute.m4
index
d03db53
..
78bff15
100644
(file)
--- a/
legacy/eina/m4/efl_attribute.m4
+++ b/
legacy/eina/m4/efl_attribute.m4
@@
-12,9
+12,9
@@
AC_MSG_CHECKING([for __attribute__ ((unused))])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[
+void foo(int x __attribute__ ((unused))) {}
]],
[[
-void foo(int x __attribute__ ((unused))) {}
]])],
[have_attribute_unused="yes"],
[have_attribute_unused="no"])
@@
-22,6
+22,8
@@
AC_MSG_RESULT([${have_attribute_unused}])
if test "x${have_attribute_unused}" = "xyes" ; then
AC_DEFINE([__UNUSED__], [__attribute__ ((unused))], [Macro declaring a function argument to be unused.])
+else
+ AC_DEFINE([__UNUSED__], [], [__attribute__ ((unused)) is not supported.])
fi
])