summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-10-09 19:28:40 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-10-09 19:28:40 +0000
commit06a765d5a16ebe4ebd79dbeb32c470283ba959cf (patch)
treefb4946a49700ff32b2df6c15fb820d9e456562e2 /legacy/evas/m4
parentac14342f6eeaac71a459daf24b5a0963f9285193 (diff)
Evas: big mistake in efl_attribute.m4. My bad
SVN revision: 63935
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/efl_attribute.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/evas/m4/efl_attribute.m4 b/legacy/evas/m4/efl_attribute.m4
index e814e36..b0cb3f1 100644
--- a/legacy/evas/m4/efl_attribute.m4
+++ b/legacy/evas/m4/efl_attribute.m4
@@ -12,9 +12,9 @@ AC_MSG_CHECKING([for __attribute__ ((unused))])
12AC_COMPILE_IFELSE( 12AC_COMPILE_IFELSE(
13 [AC_LANG_PROGRAM( 13 [AC_LANG_PROGRAM(
14 [[ 14 [[
15void foo(int x __attribute__ ((unused))) {}
15 ]], 16 ]],
16 [[ 17 [[
17void foo(int x __attribute__ ((unused))) {}
18 ]])], 18 ]])],
19 [have_attribute_unused="yes"], 19 [have_attribute_unused="yes"],
20 [have_attribute_unused="no"]) 20 [have_attribute_unused="no"])
@@ -22,6 +22,8 @@ AC_MSG_RESULT([${have_attribute_unused}])
22 22
23if test "x${have_attribute_unused}" = "xyes" ; then 23if test "x${have_attribute_unused}" = "xyes" ; then
24 AC_DEFINE([__UNUSED__], [__attribute__ ((unused))], [Macro declaring a function argument to be unused.]) 24 AC_DEFINE([__UNUSED__], [__attribute__ ((unused))], [Macro declaring a function argument to be unused.])
25else
26 AC_DEFINE([__UNUSED__], [], [__attribute__ ((unused)) is not supported.])
25fi 27fi
26]) 28])
27 29