diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-15 09:44:04 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-15 09:44:04 +0000 |
commit | dd81f5d98e6f22e15c3ed0e6ce6fbf3c1d477329 (patch) | |
tree | ee51a1da9d3b10b96f5799d03a17c89e91956659 /libgfortran/configure.ac | |
parent | 32a8a89e37900a51d83ff390f484f76088fcdeaa (diff) |
PR libfortran/60468
* configure.ac: Include <math.h> when checking for
fp_except_t and fp_rnd_t types.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index ab4c497e5f3..57e26ce9e48 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -521,8 +521,14 @@ fi # Check for SysV fpsetmask LIBGFOR_CHECK_FPSETMASK -AC_CHECK_TYPES([fp_except,fp_except_t], [], [], [[#include <ieeefp.h>]]) -AC_CHECK_TYPES([fp_rnd,fp_rnd_t], [], [], [[#include <ieeefp.h>]]) +AC_CHECK_TYPES([fp_except,fp_except_t], [], [], [[ +#include <ieeefp.h> +#include <math.h> +]]) +AC_CHECK_TYPES([fp_rnd,fp_rnd_t], [], [], [[ +#include <ieeefp.h> +#include <math.h> +]]) # Check for AIX fp_trap and fp_enable AC_CHECK_FUNC([fp_trap],[have_fp_trap=yes AC_DEFINE([HAVE_FP_TRAP],[1],[fp_trap is present])]) |