diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-02-12 17:59:02 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-02-12 17:59:02 +0000 |
commit | 6128cc4a1f07e69beb6583aac3886f3935f69b06 (patch) | |
tree | 40e67f267472e7a5437c3bf7b221ec85f3a31778 | |
parent | fdcc5f7ed1a2a6c3e9941ef89767257c2b77c96e (diff) | |
download | xine-lib-6128cc4a1f07e69beb6583aac3886f3935f69b06.tar.gz xine-lib-6128cc4a1f07e69beb6583aac3886f3935f69b06.tar.bz2 |
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
-rw-r--r-- | m4/_xine.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
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]) |