s48_inline.m4 417 B

12345678910111213141516
  1. ### s48_inline.m4 --- S48_INLINE macro -*- Autoconf -*-
  2. # serial 2
  3. dnl
  4. AC_DEFUN([S48_INLINE], [dnl
  5. AC_MSG_CHECKING([for inline keyword])
  6. AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
  7. inline void f(void)
  8. {
  9. printf("inlined");
  10. }]])], [AC_MSG_RESULT([yes])
  11. AC_DEFINE([HAVE_INLINE], [1], [Define if the C compiler supports the inline keyword])],
  12. [AC_MSG_RESULT([no])])
  13. ])
  14. ### s48_inline.m4 ends here