Tag
Hash :
e7d36445
Author :
Date :
1999-04-11T10:22:50
* m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
dnl Check for Java compiler.
dnl For now we only handle the GNU compiler.
AC_DEFUN(AM_PROG_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"
fi
AC_SUBST(GCJFLAGS)
])