summaryrefslogtreecommitdiff
path: root/m4/gcj.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1999-04-11 10:22:50 +0000
committerTom Tromey <tromey@redhat.com>1999-04-11 10:22:50 +0000
commite7d36445b1a12319f16aae1a9b2c2654bf857087 (patch)
tree03b13752a2b27f4a893fdbd7aea59d384e6fdc58 /m4/gcj.m4
parent5fd8d0cfe78019492af8ce45ae368ec83068eedf (diff)
downloadautomake-e7d36445b1a12319f16aae1a9b2c2654bf857087.tar.gz
* m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
Diffstat (limited to 'm4/gcj.m4')
-rw-r--r--m4/gcj.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gcj.m4 b/m4/gcj.m4
index f040173d0..34677afe2 100644
--- a/m4/gcj.m4
+++ b/m4/gcj.m4
@@ -2,7 +2,7 @@ dnl Check for Java compiler.
dnl For now we only handle the GNU compiler.
AC_DEFUN(AM_PROG_GCJ,[
-AC_CHECK_PROG(GCJ, gcj)
+AC_CHECK_PROGS(GCJ, gcj, gcj)
test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH])
if test "x${GCJFLAGS+set}" = xset; then
GCJFLAGS="-g -O2"