* automake.texi (Texinfo): Mention vers*.texi.
[automake.git] / m4 / gcj.m4
blob34677afe2bc8f6dfd5cdfe09b840391fbb11352f
1 dnl Check for Java compiler.
2 dnl For now we only handle the GNU compiler.
4 AC_DEFUN(AM_PROG_GCJ,[
5 AC_CHECK_PROGS(GCJ, gcj, gcj)
6 test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH])
7 if test "x${GCJFLAGS+set}" = xset; then
8    GCJFLAGS="-g -O2"
9 fi
10 AC_SUBST(GCJFLAGS)