diff options
author | Dalibor Topic <robilad@yahoo.com> | 2007-06-24 23:51:19 +0000 |
---|---|---|
committer | Dalibor Topic <robilad@yahoo.com> | 2007-06-24 23:51:19 +0000 |
commit | 1bc3669dfb1ee5b38dfee04a374e47d98f87f16e (patch) | |
tree | fc1b3cc271c98042a13c8d108b33d9a6a4ccd4f5 /m4 | |
parent | 6691a48bb95d5e3c92374263b9a406dce0c06087 (diff) | |
download | classpath-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.m4 | 6 |
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 |