summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog5
-rw-r--r--m4/javacomp.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index e0180cb..c6da425 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-10 Bruno Haible <haible@clisp.cons.org>
+
+ * javacomp.m4 (gt_JAVACOMP): Ignore gcj version 2.xx, require at least
+ gcj 3.0.
+
2001-09-27 Bruno Haible <haible@clisp.cons.org>
* gettext.m4 (AM_GNU_GETTEXT): Inline AM_WITH_NLS call.
diff --git a/m4/javacomp.m4 b/m4/javacomp.m4
index df1d044..a7b4f07 100644
--- a/m4/javacomp.m4
+++ b/m4/javacomp.m4
@@ -15,7 +15,7 @@ AC_DEFUN([gt_JAVACOMP],
if test -n "$JAVAC"; then
ac_result="$JAVAC"
else
- if gcj --version >/dev/null 2>/dev/null; then
+ if gcj --version 2>/dev/null | grep '^[3-9]' >/dev/null; then
HAVE_GCJ=1
ac_result="gcj -C"
else