summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h2
-rw-r--r--configure.in4
2 files changed, 6 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index deff151c9..ac4b6384b 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -167,3 +167,5 @@
/* Define if the compiler supports long longs. */
#undef HAVE_LONG_LONGS
+/* Define if the compiler supports inline functions. */
+#undef HAVE_INLINE
diff --git a/configure.in b/configure.in
index 9a40ffdfe..fb5a8e814 100644
--- a/configure.in
+++ b/configure.in
@@ -176,6 +176,10 @@ AC_C_CONST
AC_C_INLINE
AC_C_BIGENDIAN
+if test "$ac_cv_c_inline" != no; then
+ AC_DEFINE(HAVE_INLINE)
+fi
+
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)