summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2006-03-27 17:47:21 +0000
committerDalibor Topic <robilad@yahoo.com>2006-03-27 17:47:21 +0000
commit3d3e148b0e44faccda647bd30bd73cef71370856 (patch)
tree5b7b0ab480da252dcaca54497a278612afe32231 /m4
parentf1ace971263f54cdd157ffe10371e37c481fe30f (diff)
downloadclasspath-3d3e148b0e44faccda647bd30bd73cef71370856.tar.gz
small acinclude FIXME fix
2006-03-27 Dalibor Topic <robilad@kaffe.org> * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use AC_MSG_ERROR instead of echoing the error message that no compiler has been found manually.
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index 1c5f9c70f..30ae333b5 100644
--- a/m4/acinclude.m4
+++ b/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
])