From 6128cc4a1f07e69beb6583aac3886f3935f69b06 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 12 Feb 2004 17:59:02 +0000 Subject: get rid of the "inline redefined" warning one sees with recent glibc headers because linux/compiler.h defines inline already CVS patchset: 6132 CVS date: 2004/02/12 17:59:02 --- m4/_xine.m4 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/m4/_xine.m4 b/m4/_xine.m4 index 43c0faba8..7adf7af0a 100644 --- a/m4/_xine.m4 +++ b/m4/_xine.m4 @@ -13,6 +13,13 @@ AC_DEFUN([AC_C_ALWAYS_INLINE], CFLAGS="$SAVE_CFLAGS" AC_MSG_RESULT([$ac_cv_always_inline]) if test x"$ac_cv_always_inline" = x"yes"; then + AH_TOP([ +#ifdef inline +/* the strange formatting below is needed to prevent config.status from rewriting it */ +# undef \ + inline +#endif + ]) AC_DEFINE_UNQUOTED([inline],[inline __attribute__ ((__always_inline__))]) fi fi]) -- cgit v1.2.3