summaryrefslogtreecommitdiff
path: root/libjava/classpath/m4/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/m4/acinclude.m4')
-rw-r--r--libjava/classpath/m4/acinclude.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/libjava/classpath/m4/acinclude.m4 b/libjava/classpath/m4/acinclude.m4
index 1c5f9c70f1c..30ae333b596 100644
--- a/libjava/classpath/m4/acinclude.m4
+++ b/libjava/classpath/m4/acinclude.m4
@@ -24,9 +24,7 @@ AC_DEFUN([CLASSPATH_FIND_JAVAC],
AM_CONDITIONAL(FOUND_GCJX, test "x${user_specified_javac}" = xgcjx)
if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj; then
- # FIXME: use autoconf error function
- echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" 1>&2
- exit 1
+ AC_MSG_ERROR([cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx])
fi
])