[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
This commit is contained in:
Dana Robinson 2016-03-22 03:03:50 -05:00
parent 7255d1a1b8
commit 5309de6c54

View File

@ -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