diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-24 23:27:36 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-24 23:27:36 +0000 |
commit | c4d9d1eafab98f8edd03f138ae3b467bb7acd010 (patch) | |
tree | f5a4291ddca0cf5bf4b54f3ced881d3eeaad99f6 /libgfortran | |
parent | 5dc4d291b7f87db788e66a314ce24bcdadc9e173 (diff) | |
download | gcc-c4d9d1eafab98f8edd03f138ae3b467bb7acd010.tar.gz |
* configure.ac: Guard include of <ieeefp.h>.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218032 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-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 abbfdd19a34..1a1f937c6bb 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 dc68af54dbd..a19cb9e1069 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 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> ]]) |