OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [m4/] [ac_prog_java.m4] - Blame information for rev 791

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 773 jeremybenn
dnl Available from the GNU Autoconf Macro Archive at:
2
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_prog_java.html
3
dnl
4
dnl Changes for gjdoc: check for "kaffe, gij, java", not only "kaffe, java"
5
dnl Changes for GNU Classpath: check for "cacao, jamvm" as well
6
dnl
7
AC_DEFUN([AC_PROG_JAVA],[
8
AC_REQUIRE([AC_EXEEXT])dnl
9
if test "x$JAVAPREFIX" = x; then
10
        test "x$JAVA" = x && AC_CHECK_PROGS(JAVA, cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT)
11
else
12
        test "x$JAVA" = x && AC_CHECK_PROGS(JAVA, cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT, $JAVAPREFIX)
13
fi
14
test "x$JAVA" = x && AC_MSG_ERROR([no acceptable Java virtual machine found in \$PATH])
15
AC_PROVIDE([$0])dnl
16
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.