]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* 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 aa1c306ef8dda5e5495e0e18431d38073fc0740c..0b6ba9681cf5aa09f3a0063da995f7a970b77ed4 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 8ffc640c1c4ade24402dbe08b75bf942aea763a8..2fd20a4964e87825d9b26cba179f816143365184 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 52e5d78e8cf820d6536aa974784591af50f48014..e5310c1c955dc45c7c436a7063b824c8d64e4619 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