From 5309de6c548bd0af26bde85df20d8fd6ca518838 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 22 Mar 2016 03:03:50 -0500 Subject: [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 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v0.12