This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Use build_noncanonical in configure.in


More future-proofing without behavior changes.

	* configure.in: Use build_noncanonical rather than build_alias.
	* configure: Rebuild.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.192
diff -u -r1.192 configure.in
--- configure.in	16 Jul 2004 21:14:18 -0000	1.192
+++ configure.in	16 Jul 2004 21:15:47 -0000
@@ -40,7 +40,7 @@
 fi
 
 AC_CANONICAL_SYSTEM
-
+_GCC_TOPLEV_NONCANONICAL_BUILD
 _GCC_TOPLEV_NONCANONICAL_TARGET
 
 # This works around the fact that libtool configuration may change LD
@@ -1062,7 +1062,7 @@
      ;;
   esac
   if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
-     if test x"$build_alias" = x"$with_cross_host"; then
+     if test x"$build_noncanonical" = x"$with_cross_host"; then
         # Ordinary cross (host!=target and host=build)
         which_gcj=built
      else

-- 
There are none so blind as those who will not see.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]