diff options
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rwxr-xr-x | libgfortran/configure | 8 | ||||
-rw-r--r-- | libgfortran/configure.ac | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index abbfdd1..1a1f937 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2014-11-24 John David Anglin <danglin@gcc.gnu.org> + + * configure.ac: Guard include of <ieeefp.h>. + * configure: Rebuilt. + 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/63784 diff --git a/libgfortran/configure b/libgfortran/configure index dc68af5..a19cb9e 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -26067,7 +26067,9 @@ $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" " +#ifdef HAVE_IEEEFP_H #include <ieeefp.h> +#endif #include <math.h> " @@ -26080,7 +26082,9 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" " +#ifdef HAVE_IEEEFP_H #include <ieeefp.h> +#endif #include <math.h> " @@ -26094,7 +26098,9 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" " +#ifdef HAVE_IEEEFP_H #include <ieeefp.h> +#endif #include <math.h> " @@ -26107,7 +26113,9 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" " +#ifdef HAVE_IEEEFP_H #include <ieeefp.h> +#endif #include <math.h> " diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index ada74e3..b9386c2 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> ]]) |