libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
[gcc.git] / libjava / configure.host
index 8f7363da9f5529a00fe01b0304a9f7e2a589a06e..3838fc5f331821431671830cfea2c83d9aca8ab5 100644 (file)
@@ -23,6 +23,7 @@ libgcj_flags=
 libgcj_cflags=
 libgcj_cxxflags=
 libgcj_javaflags=
+libgcj_interpreter=
 
 case "${target_optspace}:${host}" in
   yes:*)
@@ -44,6 +45,7 @@ AM_RUNTESTFLAGS=
 echo "$target"
 
 DIVIDESPEC=-fuse-divide-subroutine
+EXCEPTIONSPEC=-fnon-call-exceptions
 
 case "${host}" in
   mips-tx39-*|mipstx39-unknown-*)
@@ -52,12 +54,29 @@ case "${host}" in
        AM_RUNTESTFLAGS="--target_board=jmr3904-sim"    
        # Use "Ecos" processes since they are a no-op.
        PROCESS=Ecos
+       enable_java_net_default=no
+       enable_getenv_properties_default=no
        ;;
-  i686-*|i586-*)
+  i686-*|i586-*|i486-*|i386-*)
        libgcj_flags="${libgcj_flags} -ffloat-store"
+       libgcj_interpreter=yes
+       libgcj_cxxflags="-D__NO_MATH_INLINES"
+       libgcj_cflags="-D__NO_MATH_INLINES"
        DIVIDESPEC=-fno-use-divide-subroutine
        ;;
-  *)
+  alpha*-*)
+       libgcj_flags="${libgcj_flags} -mieee"
+       libgcj_interpreter=yes
+       ;;
+  powerpc*-*)
+       libgcj_interpreter=yes
+       libgcj_sjlj=yes
+       ;;
+  sparc-*)
+        ;;
+  ia64-*)
+        libgcj_flags="${libgcj_flags} -funwind-tables"
+       libgcj_interpreter=yes
        ;;
 esac