diff options
author | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2005-10-28 20:13:20 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2005-10-28 20:13:20 +0000 |
commit | 3b14f6649a77f6c024a456f1c3a35df0662488bb (patch) | |
tree | 63c0066d3282fbbc40206a8f80b8a22b789be2f8 /libgfortran/configure.host | |
parent | 9b46f94ffa7a8c7e3ddc95980359c75858d09f9c (diff) | |
download | gcc-3b14f6649a77f6c024a456f1c3a35df0662488bb.zip gcc-3b14f6649a77f6c024a456f1c3a35df0662488bb.tar.gz gcc-3b14f6649a77f6c024a456f1c3a35df0662488bb.tar.bz2 |
acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
* configure.ac: Check for floatingpoint.h, fptrap.h and float.h
headers. Use LIBGFOR_CHECK_FPSETMASK. Check for fp_trap and
fp_enable functions.
* configure.host: Add case for systems with fpsetmask and systems
with fp_trap/fp_enable.
* config/fpu-sysv.h: New file, FPU code using fpsetmask.
* config/fpu-aix.h: New file, FPU code for AIX using fp_trap and
fp_enable.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r105956
Diffstat (limited to 'libgfortran/configure.host')
-rw-r--r-- | libgfortran/configure.host | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libgfortran/configure.host b/libgfortran/configure.host index c7cc16e..73da571 100644 --- a/libgfortran/configure.host +++ b/libgfortran/configure.host @@ -18,7 +18,7 @@ # DEFAULTS -fpu_host=fpu-generic +fpu_host='fpu-generic' # HOST-SPECIFIC OVERRIDES case "${host_cpu}" in @@ -30,3 +30,11 @@ esac if test "x${have_feenableexcept}" = "xyes"; then fpu_host='fpu-glibc' fi + +if test "x${have_fpsetmask}" = "xyes"; then + fpu_host='fpu-sysv' +fi + +if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then + fpu_host='fpu-aix' +fi |