summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d51511a..b4492b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -900,8 +900,10 @@ if test "X$HDF_JAVA" = "Xyes"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([Java requires shared libraries to be built])
+ HDF_JAVA="no"
+ AC_MSG_RESULT([no])
fi
- HDF_JAVA="no"
+else
AC_MSG_RESULT([no])
fi