A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also work with older test binary which don't understand the -a flag
[simgrid.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
99579b9
..
7f17fb6
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-423,7
+423,7
@@
else
AC_PATH_PROG([JAVA], [java] , `which java`)
AC_PATH_PROG([JAR], [jar] , `which jar`)
AC_CHECK_HEADERS(jni.h)
AC_PATH_PROG([JAVA], [java] , `which java`)
AC_PATH_PROG([JAR], [jar] , `which jar`)
AC_CHECK_HEADERS(jni.h)
- if test -n "$JAVAC"
-a test -n "$JAVA" -a test -n "$JAR" -a
test "x$ac_cv_header_jni_h" = "xyes" ; then
+ if test -n "$JAVAC"
&& test -n "$JAVA" && test -n "$JAR" &&
test "x$ac_cv_header_jni_h" = "xyes" ; then
use_java="yes"
AC_DEFINE(HAVE_JAVA,1, [defines whether Java bindings must be compiled or not])
else
use_java="yes"
AC_DEFINE(HAVE_JAVA,1, [defines whether Java bindings must be compiled or not])
else