]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Treat gcj 3.2 like gcj 3.0 and gcj 3.1.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Jul 2002 17:57:55 +0000 (17:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:41 +0000 (12:08 +0200)
m4/ChangeLog
m4/javacomp.m4

index 7b8fe5a81cb1937f39e17887a624d5576ff38559..b15d8814c6bf21e46e9d55f050c69a82ccc160a3 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * javacomp.m4 (gt_JAVACOMP): Ignore all gcj versions for now.
+
 2002-07-23  Bruno Haible  <bruno@clisp.org>
 
        * inttypes-pri.m4: New file.
index 3a74a2bec3ea16ccb1849af09388606ea4ab8d50..e5d72e3ef98f1c46f737c039510b05f3fe86a494 100644 (file)
@@ -1,4 +1,4 @@
-# javacomp.m4 serial 4 (gettext-0.11.3)
+# javacomp.m4 serial 5 (gettext-0.11.4)
 dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -31,8 +31,15 @@ AC_DEFUN([gt_JAVACOMP],
     popdef([AC_CHECKING])dnl
     popdef([AC_MSG_CHECKING])dnl
 changequote(,)dnl
+    # Test for a good gcj version (>= 3.0).
+    # Exclude some versions of gcj: gcj 3.0.4 compiles GetURL.java to invalid
+    # bytecode, that crashes with an IllegalAccessError when executed by
+    # gij 3.0.4 or with a VerifyError when executed by Sun Java. Likewise for
+    # gcj 3.1.
+    # I also exclude gcj 3.2, 3.3 etc. because I have no idea when this bug
+    # will be fixed. FIXME: Check new versions of gcj as they come out.
     if test -n "$HAVE_GCJ_IN_PATH" \
-       && gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^3\.[01]/d' | grep '^[3-9]' >/dev/null \
+       && gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^3\.[0123456789]/d' | grep '^[3-9]' >/dev/null \
        && (
         # See if libgcj.jar is well installed.
         cat > conftest.java <<EOF