diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-10-05 20:09:47 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-10-05 20:09:47 +0000 |
commit | 7fe3d3599446108bc36a0ab6ec563a267db02733 (patch) | |
tree | 8c45e7b3087e289466d4fb4ff99b12b209b770f6 /m4/efl_attribute.m4 | |
parent | 227ef6982edc5e7a31f74077b93e82aeb33d7d6f (diff) | |
download | efl-7fe3d3599446108bc36a0ab6ec563a267db02733.tar.gz |
merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
Diffstat (limited to 'm4/efl_attribute.m4')
-rw-r--r-- | m4/efl_attribute.m4 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/m4/efl_attribute.m4 b/m4/efl_attribute.m4 index 78bff15679..cd42e9cda6 100644 --- a/m4/efl_attribute.m4 +++ b/m4/efl_attribute.m4 @@ -3,30 +3,6 @@ dnl That code is public domain and can be freely used or copied. dnl Macros for checking if the compiler supports some __attribute__ uses -dnl Usage: EFL_ATTRIBUTE_UNUSED -dnl call AC_DEFINE for __UNUSED__ if __attribute__((unused)) is available - -AC_DEFUN([EFL_ATTRIBUTE_UNUSED], -[ -AC_MSG_CHECKING([for __attribute__ ((unused))]) -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ -void foo(int x __attribute__ ((unused))) {} - ]], - [[ - ]])], - [have_attribute_unused="yes"], - [have_attribute_unused="no"]) -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 -]) - dnl Usage: EFL_ATTRIBUTE_VECTOR dnl call AC_DEFINE for HAVE_GCC_ATTRIBUTE_VECTOR if __attribute__((vector)) is available |