Commit e7cca7f4 by Alan Modra Committed by Alan Modra

acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.

	* acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
	* configure.in: Compare with_cross_host to build_alias, not build.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r70199
parent 375b855b
2003-08-06 Alan Modra <amodra@bigpond.net.au>
* acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
* configure.in: Compare with_cross_host to build_alias, not build.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2003-08-05 Tom Tromey <tromey@redhat.com> 2003-08-05 Tom Tromey <tromey@redhat.com>
Fix for PR libgcj/11779: Fix for PR libgcj/11779:
......
...@@ -106,12 +106,6 @@ version=0.0.7 ...@@ -106,12 +106,6 @@ version=0.0.7
dnl Still use "libjava" here to placate dejagnu. dnl Still use "libjava" here to placate dejagnu.
AM_INIT_AUTOMAKE(libjava, $version) AM_INIT_AUTOMAKE(libjava, $version)
# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
AC_CANONICAL_BUILD
AC_CHECK_TOOL(AS, as) AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(RANLIB, ranlib, :)
......
...@@ -118,12 +118,6 @@ version=0.0.7 ...@@ -118,12 +118,6 @@ version=0.0.7
dnl Still use "libjava" here to placate dejagnu. dnl Still use "libjava" here to placate dejagnu.
AM_INIT_AUTOMAKE(libjava, $version) AM_INIT_AUTOMAKE(libjava, $version)
# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
AC_CANONICAL_BUILD
AC_CHECK_TOOL(AS, as) AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(RANLIB, ranlib, :)
......
...@@ -823,7 +823,7 @@ if test -n "${with_cross_host}"; then ...@@ -823,7 +823,7 @@ if test -n "${with_cross_host}"; then
;; ;;
esac esac
if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
if test x"$build" = x"$with_cross_host"; then if test x"$build_alias" = x"$with_cross_host"; then
# Ordinary cross (host!=target and host=build) # Ordinary cross (host!=target and host=build)
which_gcj=built which_gcj=built
else else
......
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