OSDN Git Service

2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / libjava / configure.host
index b2bdd53..edaa679 100644 (file)
@@ -159,6 +159,10 @@ case "${host}" in
        enable_hash_synchronization_default=yes
        ;;
   sparc*-*)
+       sysdeps_dir=sparc
+       # On Solaris we have defined 'sun' which later conflicts with 
+       # namespace usage. So to work this away we use the below undefine.
+       libgcj_flags="${libgcj_flags} -Usun"
        libgcj_interpreter=yes
         ;;
   ia64-*)
@@ -242,6 +246,10 @@ EOF
          rm -f conftest conftest.c
        fi
        ;;
+   i[34567]86*-kfreebsd*-gnu | x86_64*-kfreebsd*-gnu)
+        libgcj_ld_symbolic='-Wl,-Bsymbolic'
+        slow_pthread_self=
+        ;;
   i[34567]86-*-solaris2.1[0-9]* )
        sysdeps_dir=x86-64
        DIVIDESPEC=-f%{m32:no-}%{!m32:%{!m64:no-}}%{m64:}use-divide-subroutine
@@ -261,6 +269,11 @@ EOF
        slow_pthread_self=
        can_unwind_signal=yes
        ;;
+  i?86-*-darwin*)
+       enable_hash_synchronization_default=yes
+       slow_pthread_self=
+       can_unwind_signal=no
+       ;;
   *-*-freebsd*)
        slow_pthread_self=
        ;;
@@ -320,7 +333,7 @@ case "${host}" in
 esac
 
 case "${host}" in
-  *linux*)
+  *linux*|*-kfreebsd*-gnu)
     use_libgcj_bc=yes
   ;;
   *)