mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r28059] Make UNSUPPORTED option combinations fail configure - matches autotools behaviour.
This commit is contained in:
parent
2c9b575d38
commit
2abe5da201
@ -557,24 +557,21 @@ if (WIN32)
|
||||
endif (HDF5_ENABLE_PARALLEL)
|
||||
if (HDF5_BUILD_FORTRAN)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** Fortran and thread-safety options are not supported **** ")
|
||||
message (STATUS " **** thread-safety option will not be used building Fortran library **** ")
|
||||
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported **** ")
|
||||
else (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ")
|
||||
endif (NOT ALLOW_UNSUPPORTED)
|
||||
endif (HDF5_BUILD_FORTRAN)
|
||||
if (HDF5_BUILD_CPP_LIB)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** C++ and thread-safety options are not supported **** ")
|
||||
message (STATUS " **** thread-safety option will not be used building C++ library **** ")
|
||||
message (FATAL_ERROR " **** C++ and thread-safety options are not supported **** ")
|
||||
else (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ")
|
||||
endif (NOT ALLOW_UNSUPPORTED)
|
||||
endif (HDF5_BUILD_CPP_LIB)
|
||||
if (HDF5_BUILD_HL_LIB)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** HL and thread-safety options are not supported **** ")
|
||||
message (STATUS " **** thread-safety option will not be used building HL library **** ")
|
||||
message (FATAL_ERROR " **** HL and thread-safety options are not supported **** ")
|
||||
else (NOT ALLOW_UNSUPPORTED)
|
||||
message (STATUS " **** Allowing unsupported HL and thread-safety options **** ")
|
||||
endif (NOT ALLOW_UNSUPPORTED)
|
||||
|
Loading…
Reference in New Issue
Block a user