]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add a javac check to exclude buggy KOPI versions shipped with RedHat 7.2.
authorBruno Haible <bruno@clisp.org>
Tue, 4 Dec 2001 17:12:40 +0000 (17:12 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:33:07 +0000 (23:33 +0200)
m4/ChangeLog
m4/javacomp.m4

index 37e851a634fa553265e83826d0528a0336977244..5770237a02acbe684127bcd88fc7788e74ab1a38 100644 (file)
@@ -1,3 +1,9 @@
+2001-12-04  Bruno Haible  <bruno@clisp.org>
+
+       * javacomp.m4 (gt_JAVACOMP): Exclude at.dms.kjc.Main (KOPI) versions
+       released in 2000, because they can't compile intl-java. Version 1.4F
+       [May 2000] is buggy, version 1.5B [August 2001] is OK.
+
 2001-11-25  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_PO_SUBDIRS): Also substitute UPDATEPOFILES and
index 511dea1ec22bd2c18fb050dce0fda99fbcc604db..732641a573b39f4ab15fc3642045708a70aead36 100644 (file)
@@ -30,7 +30,8 @@ AC_DEFUN([gt_JAVACOMP],
       ac_result="gcj -C"
     else
       if test -n "$HAVE_JAVAC_IN_PATH" \
-         && (javac -version >/dev/null 2>/dev/null || test $? -le 2); then
+         && (javac -version >/dev/null 2>/dev/null || test $? -le 2) \
+         && (if javac -help 2>&1 >/dev/null | grep at.dms.kjc.Main >/dev/null && javac -help 2>/dev/null | grep 'released.*2000' >/dev/null ; then exit 1; else exit 0; fi); then
         HAVE_JAVAC=1
         ac_result="javac"
       else