+dnl Copyright (C) 2004-2007. The SimGrid team. All rights reserved.
+
+dnl This file is part of the SimGrid project. This is free software:
+dnl You can redistribute and/or modify it under the terms of the
+dnl GNU LGPL (v2.1) licence.
######################
## Setup the autotools
AC_MSG_CHECKING(whether to compile java bindings)
if test "x$disable_java" != "xyes" ; then
use_java="disabled by user"
-elif test "x$with_context" = "xucontext" ; then
- use_java="incompatibility with ucontext. Try --with-pthreads or --disable-java."
else
AC_PATH_PROG([JAVAC], [javac], `which javac`)
AC_PATH_PROG([JAVA], [java] , `which java`)