* acconfig.h (HAVE_INLINE): Added template.
authorMarius Vollmer <mvo@zagadka.de>
Sun, 25 Nov 2001 14:44:10 +0000 (14:44 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sun, 25 Nov 2001 14:44:10 +0000 (14:44 +0000)
* configure.in (HAVE_INLINE): Define it when the compiler supports
inline functions.

acconfig.h
configure.in

index deff151..ac4b638 100644 (file)
 /* Define if the compiler supports long longs.  */
 #undef HAVE_LONG_LONGS
 
+/* Define if the compiler supports inline functions.  */
+#undef HAVE_INLINE
index 9a40ffd..fb5a8e8 100644 (file)
@@ -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)