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


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

3.0.1 PATCH: Typo in libjava configure.in


Trying to build GCC 3.0 for mips-sgi-irix5.3 with --enable-libgcj and with
implicit detection of the need for sjlj exceptions, libjava failed to
configure (unlike the case when I explicitly specified
--enable-sjlj-exceptions) with

checking for exception model to use... configure: error: unable to detect exception model

It turns out that this is due to a simple typo in configure.in.  The patch
below fixes this and allows the bootstrap to continue.

Ok for branch and mainline?

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


Mon Jul  2 21:52:20 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* configure.in (test for eh model): Fixed typo.

--- libjava/configure.in	2001/06/08 23:38:55	1.1
+++ libjava/configure.in	2001/06/08 21:38:55
@@ -113,7 +113,7 @@ EOF
 old_CXXFLAGS="$CXXFLAGS"  
 CXXFLAGS=-S
 if AC_TRY_EVAL(ac_compile); then
-  if grep _Unwind_Sjlj_Resume conftest.s >/dev/null 2>&1 ; then
+  if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
     enable_sjlj_exceptions=yes
   elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
     enable_sjlj_exceptions=no


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