OSDN Git Service

* configure.ac: Don't use libdl on mips-sgi-irix6*.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2011 13:58:30 +0000 (13:58 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2011 13:58:30 +0000 (13:58 +0000)
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169522 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index aa1c306..0b6ba96 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac: Don't use libdl on mips-sgi-irix6*.
+       * configure: Regenerate.
+
 2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
index 8ffc640..2fd20a4 100755 (executable)
    if test "$GC" = boehm; then
       case "${host}" in
           mips-sgi-irix6*)
-           # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
-           # libgcj.spec is used, so override here
-           SYSTEMSPEC="$SYSTEMSPEC %{!mabi=64:-ldl}"
-         ;;
+           # While IRIX 6 has libdl for the O32 and N32 ABIs, the N64 one is
+           # missing.  It's unnecessary anyway since dlopen lives in libc.
+           ;;
          *-*-darwin*)
-         ;;
+           ;;
          *)
             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
 $as_echo_n "checking for main in -ldl... " >&6; }
@@ -23185,7 +23184,7 @@ if test "x$ac_cv_lib_dl_main" = x""yes; then :
   SYSTEMSPEC="$SYSTEMSPEC -ldl"
 fi
 
-         ;;
+           ;;
       esac
    fi
 fi
index 52e5d78..e5310c1 100644 (file)
@@ -1460,15 +1460,14 @@ else
    if test "$GC" = boehm; then
       case "${host}" in
           mips-sgi-irix6*)
-           # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
-           # libgcj.spec is used, so override here
-           SYSTEMSPEC="$SYSTEMSPEC %{!mabi=64:-ldl}"
-         ;;
+           # While IRIX 6 has libdl for the O32 and N32 ABIs, the N64 one is
+           # missing.  It's unnecessary anyway since dlopen lives in libc.
+           ;;
          *-*-darwin*)
-         ;;
+           ;;
          *)
             AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl")
-         ;;
+           ;;
       esac
    fi
 fi