summaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index ada74e3318a..b9386c2c5ec 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -524,11 +524,15 @@ fi
# Check for SysV fpsetmask
LIBGFOR_CHECK_FPSETMASK
AC_CHECK_TYPES([fp_except,fp_except_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
+#endif
#include <math.h>
]])
AC_CHECK_TYPES([fp_rnd,fp_rnd_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
+#endif
#include <math.h>
]])