2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / libgfortran / configure.host
blob73da57172d617d89f5dedb5487f6a38e85bfaaa8
1 # configure.host
3 # This shell script handles all host based configuration for libgfortran.
4 # It sets various shell variables based on the the host triplet.
5 # You can modify this shell script without rerunning autoconf/aclocal/etc.
6 # This file is "sourced", not executed.
9 # It uses the following shell variables as set by config.guess:
10 #   host                The configuration host (full CPU-vendor-OS triplet)
11 #   host_cpu            The configuration host CPU
12 #   host_os             The configuration host OS
15 # It sets the following shell variables:
17 #   fpu_host            FPU-specific code file, defaults to fpu-generic.
20 # DEFAULTS
21 fpu_host='fpu-generic'
23 # HOST-SPECIFIC OVERRIDES
24 case "${host_cpu}" in
25   i?86 | x86_64)
26     fpu_host='fpu-387' ;;
27 esac
29 # CONFIGURATION-SPECIFIC OVERRIDES
30 if test "x${have_feenableexcept}" = "xyes"; then
31   fpu_host='fpu-glibc'
34 if test "x${have_fpsetmask}" = "xyes"; then
35   fpu_host='fpu-sysv'
38 if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then
39   fpu_host='fpu-aix'