aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeber <beber>2005-12-08 23:36:46 +0000
committerbeber <beber>2005-12-08 23:36:46 +0000
commit04d496dbd8e8390b9ba79a4a67f50d05bf6cdd3d (patch)
treebc503066d0eae520c3c8fcc6967bdea7e7c1c1e7
parentwarninf (diff)
downloadespik-04d496dbd8e8390b9ba79a4a67f50d05bf6cdd3d.tar.xz
inline
-rw-r--r--config.h.in6
-rw-r--r--configure.in1
2 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 681ecaa..382bd5f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -35,3 +35,9 @@
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#undef inline
+#endif
diff --git a/configure.in b/configure.in
index 1e9ec7f..0d1d55a 100644
--- a/configure.in
+++ b/configure.in
@@ -14,6 +14,7 @@ AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_C_CONST
+AC_C_INLINE
dnl espik specific check (include in m4)
AC_C___ATTRIBUTE__