OSDN Git Service

Remove duplicate ".endfunc".
[pf3gnuchains/gcc-fork.git] / libgfortran / configure.host
index c7cc16e..eb68c93 100644 (file)
@@ -18,7 +18,7 @@
 
 
 # DEFAULTS
-fpu_host=fpu-generic
+fpu_host='fpu-generic'
 
 # HOST-SPECIFIC OVERRIDES
 case "${host_cpu}" in
@@ -30,3 +30,18 @@ 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
+
+# Some targets require additional compiler options for NaN/Inf.
+ieee_flags=
+case "${host_cpu}" in
+  sh*)
+    ieee_flags="-mieee" ;;
+esac