diff options
author | Marius Vollmer <mvo@zagadka.de> | 2001-11-25 14:44:10 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2001-11-25 14:44:10 +0000 |
commit | 5bd732c952a135c2a93df512f6b9bb469d1c49a8 (patch) | |
tree | e1a79acd262610c79c51d08b1b6058590dc3d757 | |
parent | 2e203f2d11444eaa935e50acd7dce7fe0fce638b (diff) | |
download | guile-5bd732c952a135c2a93df512f6b9bb469d1c49a8.tar.gz |
* acconfig.h (HAVE_INLINE): Added template.
* configure.in (HAVE_INLINE): Define it when the compiler supports
inline functions.
-rw-r--r-- | acconfig.h | 2 | ||||
-rw-r--r-- | configure.in | 4 |
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) |