summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2007-06-24 23:51:19 +0000
committerDalibor Topic <robilad@yahoo.com>2007-06-24 23:51:19 +0000
commit1bc3669dfb1ee5b38dfee04a374e47d98f87f16e (patch)
treefc1b3cc271c98042a13c8d108b33d9a6a4ccd4f5 /m4
parent6691a48bb95d5e3c92374263b9a406dce0c06087 (diff)
downloadclasspath-1bc3669dfb1ee5b38dfee04a374e47d98f87f16e.tar.gz
2007-06-25 Dalibor Topic <robilad@kaffe.org>
* m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an explicit argument to configure, just use it, and don't attempt to run AC_CHECK_PROG. This makes --with-javac='javac -J-Xmx512M' work.
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index 58ee55260..fc22b4c55 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -444,11 +444,7 @@ dnl -----------------------------------------------------------
AC_DEFUN([CLASSPATH_CHECK_JAVAC],
[
if test "x$1" != x; then
- if test -f "$1"; then
- JAVAC="$1"
- else
- AC_PATH_PROG(JAVAC, "$1")
- fi
+ JAVAC="$1"
else
AC_PATH_PROG(JAVAC, "javac")
fi