Bug 1329185 - remove check for __attribute__((always_inline)); r=mshal

We never use the result of this check, and every place that would care
about this just does the check via compiler preprocessor checks.
This commit is contained in:
Nathan Froyd 2017-01-07 11:23:42 -05:00
parent 1e6f972917
commit 4ccf79d833
2 changed files with 0 additions and 18 deletions

View File

@ -1359,15 +1359,6 @@ if test "$ac_cv_thread_keyword" = yes; then
esac
fi
dnl See if compiler supports some gcc-style attributes
AC_CACHE_CHECK(for __attribute__((always_inline)),
ac_cv_attribute_always_inline,
[AC_TRY_COMPILE([inline void f(void) __attribute__((always_inline));],
[],
ac_cv_attribute_always_inline=yes,
ac_cv_attribute_always_inline=no)])
dnl End of C++ language/feature checks
AC_LANG_C

View File

@ -1923,15 +1923,6 @@ if test -n "$MOZ_LINKER" -a "$OS_TARGET" = "Android"; then
fi
fi
dnl See if compiler supports some gcc-style attributes
AC_CACHE_CHECK(for __attribute__((always_inline)),
ac_cv_attribute_always_inline,
[AC_TRY_COMPILE([inline void f(void) __attribute__((always_inline));],
[],
ac_cv_attribute_always_inline=yes,
ac_cv_attribute_always_inline=no)])
dnl End of C++ language/feature checks
AC_LANG_C