diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-03-22 08:03:50 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-03-22 08:03:50 (GMT) |
commit | 5309de6c548bd0af26bde85df20d8fd6ca518838 (patch) | |
tree | faa5a755eccbc319520c42b5595f527bb2fd5548 | |
parent | 7255d1a1b8e0b12cc652bf6d1becbe46bc328c6e (diff) | |
download | hdf5-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.ac | 9 |
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 |