diff options
author | Jing Yu <jingyu@google.com> | 2009-11-05 15:11:04 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2009-11-05 15:11:04 -0800 |
commit | df62c1c110e8532b995b23540b7e3695729c0779 (patch) | |
tree | dbbd4cbdb50ac38011e058a2533ee4c3168b0205 /gcc-4.4.0/libgfortran/configure.host | |
parent | 8d401cf711539af5a2f78d12447341d774892618 (diff) | |
download | toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.tar.gz toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.tar.bz2 toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.zip |
Check in gcc sources for prebuilt toolchains in Eclair.
Diffstat (limited to 'gcc-4.4.0/libgfortran/configure.host')
-rw-r--r-- | gcc-4.4.0/libgfortran/configure.host | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gcc-4.4.0/libgfortran/configure.host b/gcc-4.4.0/libgfortran/configure.host new file mode 100644 index 000000000..73da57172 --- /dev/null +++ b/gcc-4.4.0/libgfortran/configure.host @@ -0,0 +1,40 @@ +# configure.host +# +# This shell script handles all host based configuration for libgfortran. +# It sets various shell variables based on the the host triplet. +# You can modify this shell script without rerunning autoconf/aclocal/etc. +# This file is "sourced", not executed. +# +# +# It uses the following shell variables as set by config.guess: +# host The configuration host (full CPU-vendor-OS triplet) +# host_cpu The configuration host CPU +# host_os The configuration host OS +# +# +# It sets the following shell variables: +# +# fpu_host FPU-specific code file, defaults to fpu-generic. + + +# DEFAULTS +fpu_host='fpu-generic' + +# HOST-SPECIFIC OVERRIDES +case "${host_cpu}" in + i?86 | x86_64) + fpu_host='fpu-387' ;; +esac + +# CONFIGURATION-SPECIFIC OVERRIDES +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 |