From 32d5bb24cd21c1448c277d731f58cae8a741f66a Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 1 Nov 2010 05:03:59 +0000 Subject: [PATCH] Check for fenv_t and fexcept_t in microcode/configure. --- src/microcode/configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) 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]) -- 2.25.1