Commit de2b3a07 by Rainer Orth Committed by Rainer Orth

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

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

From-SVN: r126847
parent a05bea76
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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment