X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9a125726833524c513b2cc1ecb76c4e59f0fbf43..74fcfbecc1dc3a12838aa3128c00c8e52e6dcef1:/configure.ac diff --git a/configure.ac b/configure.ac index 99579b9af9..7f17fb6ec1 100644 --- 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) - 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