diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-24 08:34:05 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-24 08:34:05 +0000 |
commit | f1fd8f6ec3067e8bda0d479a530b5d8a45aaad09 (patch) | |
tree | e3fb961dfaef2cc8370285e9e55b54517901a4cb /libgfortran/configure | |
parent | 0b23338c2ce3f737684eda9ac9f7cfa9073a546b (diff) | |
download | gcc-f1fd8f6ec3067e8bda0d479a530b5d8a45aaad09.tar.gz |
2013-06-24 Tobias Burnus <burnus@net-b.de>
* configure.ac: Check for fp_except and fp_except_t.
* config/fpu-sysv.h: Conditionally use either type.
* configure: Regenerate.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index c049cdcfebe..6c8ee5d987f 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -25977,6 +25977,27 @@ $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h fi +ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h> +" +if test "x$ac_cv_type_fp_except" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_FP_EXCEPT 1 +_ACEOF + + +fi +ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h> +" +if test "x$ac_cv_type_fp_except_t" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_FP_EXCEPT_T 1 +_ACEOF + + +fi + # Check for AIX fp_trap and fp_enable ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap" |