[svn-r27591] Threadsafe option implementation has changed and ALLOWUNSUPPORTED option needs to be used with TS to actually use of TS with Fortran and C++.

This commit is contained in:
Allen Byrne 2015-08-27 10:36:25 -05:00
parent c491cf01bf
commit 01a1e8f1ca

View File

@ -554,14 +554,16 @@ if (WIN32)
endif (HDF5_ENABLE_PARALLEL) endif (HDF5_ENABLE_PARALLEL)
if (HDF5_BUILD_FORTRAN) if (HDF5_BUILD_FORTRAN)
if (NOT ALLOW_UNSUPPORTED) if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported **** ") message (STATUS " **** Fortran and thread-safety options are not supported **** ")
message (STATUS " **** thread-safety option will not be used building Fortran library **** ")
else (NOT ALLOW_UNSUPPORTED) else (NOT ALLOW_UNSUPPORTED)
message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ") message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ")
endif (NOT ALLOW_UNSUPPORTED) endif (NOT ALLOW_UNSUPPORTED)
endif (HDF5_BUILD_FORTRAN) endif (HDF5_BUILD_FORTRAN)
if (HDF5_BUILD_CPP_LIB) if (HDF5_BUILD_CPP_LIB)
if (NOT ALLOW_UNSUPPORTED) if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** C++ and thread-safety options are not supported **** ") message (STATUS " **** C++ and thread-safety options are not supported **** ")
message (STATUS " **** thread-safety option will not be used building C++ library **** ")
else (NOT ALLOW_UNSUPPORTED) else (NOT ALLOW_UNSUPPORTED)
message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ") message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ")
endif (NOT ALLOW_UNSUPPORTED) endif (NOT ALLOW_UNSUPPORTED)