From 5b0410c247e2faeb97026c472d0df115d8fa1138 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Sun, 17 Feb 2008 13:50:08 +0000 Subject: fixed gcj version regex --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index afb4ac22..09e8a48f 100644 --- a/configure.ac +++ b/configure.ac @@ -255,7 +255,7 @@ fi dnl If the java compiler is the GNU Java Compiler. if test "x$JAVAC" = "xgcj"; then changequote(<<, >>)dnl - JAVA_VERSION=`$JAVAC --version 2>&1 | $SED -ne 's/gcj (GCC) \([^"]*\) (.*/\1/p' 2>/dev/null` + JAVA_VERSION=`$JAVAC --version 2>&1 | $SED -ne 's/gcj.*\([0-9]\.[0-9]\.[0-9]\).*/\1/p' 2>/dev/null` changequote([, ])dnl dnl Byte-compiled .class file -- cgit