From: Taylor R Campbell Date: Mon, 1 Nov 2010 05:03:59 +0000 (+0000) Subject: Check for fenv_t and fexcept_t in microcode/configure. X-Git-Tag: 20101212-Gtk~24 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=32d5bb24cd21c1448c277d731f58cae8a741f66a;p=mit-scheme.git Check for fenv_t and fexcept_t in microcode/configure. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 66c1bdf83..9081ac32b 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -469,6 +469,13 @@ define([SCM_INC_BSDTTY], #endif ]) +define([SCM_INC_FENV], + [ + #ifdef HAVE_FENV_H + # include + #endif + ]) + dnl Checks for types and structs AC_TYPE_MODE_T AC_TYPE_OFF_T @@ -547,6 +554,9 @@ AC_CHECK_TYPE([speed_t], [Define to `short' if doesn't define.])], [SCM_INC_TERMIO]) +AC_CHECK_TYPES([fenv_t], [], [], [SCM_INC_FENV]) +AC_CHECK_TYPES([fexcept_t], [], [], [SCM_INC_FENV]) + AC_CHECK_SIZEOF([time_t]) AC_CHECK_SIZEOF([off_t])