Evas: efl_attribute.m4 : put definition in the prologue
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Nov 2011 21:04:49 +0000 (21:04 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Nov 2011 21:04:49 +0000 (21:04 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

m4/efl_attribute.m4

index b0cb3f1..12d2039 100644 (file)
@@ -62,9 +62,9 @@ AC_MSG_CHECKING([for __attribute__ ((always_inline))])
 AC_COMPILE_IFELSE(
    [AC_LANG_PROGRAM(
        [[
+__attribute__((always_inline)) inline void foo(void) {}
        ]],
        [[
-__attribute__((always_inline)) void foo(void) {}
        ]])],
    [have_attribute_always_inline="yes"],
    [have_attribute_always_inline="no"])