summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-03-22 08:03:50 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-03-22 08:03:50 (GMT)
commit5309de6c548bd0af26bde85df20d8fd6ca518838 (patch)
treefaa5a755eccbc319520c42b5595f527bb2fd5548
parent7255d1a1b8e0b12cc652bf6d1becbe46bc328c6e (diff)
downloadhdf5-5309de6c548bd0af26bde85df20d8fd6ca518838.zip
hdf5-5309de6c548bd0af26bde85df20d8fd6ca518838.tar.gz
hdf5-5309de6c548bd0af26bde85df20d8fd6ca518838.tar.bz2
[svn-r29503] The parallel and enable Java options have been marked as
"unsupported" in the autotools. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools parallel w/ Java
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 272f5cd..e552366 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2437,6 +2437,15 @@ if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then
fi
fi
+## The --enable-parallel flag is not compatible with --enable-java.
+## If the user tried to specify both flags, throw an error, unless
+## they also provided the --enable-unsupported flag.
+if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then
+ if test "X${HDF_JAVA}" = "Xyes" -a "X${enable_parallel}" = "Xyes"; then
+ AC_MSG_ERROR([--enable-java and --enable-parallel flags are incompatible. Use --enable-unsupported to override this error.])
+ fi
+fi
+
## --enable-parallel is also incompatible with --enable-threadsafe, unless
## --enable-unsupported has been specified on the configure line.
if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then