mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r29502] The thread-safety 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 serial w/ Java
This commit is contained in:
parent
9c3568819f
commit
7255d1a1b8
10
configure.ac
10
configure.ac
@ -1575,7 +1575,7 @@ AC_ARG_ENABLE([threadsafe],
|
||||
[default=no]])],
|
||||
[THREADSAFE=$enableval])
|
||||
|
||||
## The high-level, C++, and Fortran interfaces are not compatible
|
||||
## The high-level, C++, Fortran and Java interfaces are not compatible
|
||||
## with the thread-safety option because the lock is not hoisted
|
||||
## into the higher-level API calls.
|
||||
|
||||
@ -1607,6 +1607,14 @@ if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
## --enable-threadsafe is also incompatible with --enable-java unless
|
||||
## --enable-unsupported has been specified on the configure line.
|
||||
if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then
|
||||
if test "X${HDF_JAVA}" = "Xyes" -a "X${enable_threadsafe}" = "Xyes"; then
|
||||
AC_MSG_ERROR([--enable-java and --enable-threadsafe flags are incompatible. Use --enable-unsupported to override this error.])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
case "X-$THREADSAFE" in
|
||||
X-|X-no)
|
||||
|
Loading…
x
Reference in New Issue
Block a user