configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.

* configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
	* configure: Regenerate.

From-SVN: r126847
This commit is contained in:
Rainer Orth 2007-07-23 12:51:36 +00:00 committed by Rainer Orth
parent a05bea7677
commit de2b3a0771
3 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-07-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
* configure: Regenerate.
2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR target/32340

11
libjava/configure vendored
View File

@ -25149,7 +25149,14 @@ fi
# On Solaris, and maybe other architectures, the Boehm collector
# requires -ldl.
if test "$GC" = boehm; then
echo "$as_me:$LINENO: checking for main in -ldl" >&5
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}"
;;
*)
echo "$as_me:$LINENO: checking for main in -ldl" >&5
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
if test "${ac_cv_lib_dl_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -25216,6 +25223,8 @@ if test $ac_cv_lib_dl_main = yes; then
SYSTEMSPEC="$SYSTEMSPEC -ldl"
fi
;;
esac
fi
fi

View File

@ -1247,7 +1247,16 @@ else
# On Solaris, and maybe other architectures, the Boehm collector
# requires -ldl.
if test "$GC" = boehm; then
AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl")
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}"
;;
*)
AC_CHECK_LIB(dl, main, SYSTEMSPEC="$SYSTEMSPEC -ldl")
;;
esac
fi
fi