diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-01-22 15:09:20 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-01-22 15:09:20 (GMT) |
commit | 3ffdf81de41c8a3ebf79a6c593407a8f98dd1b01 (patch) | |
tree | 0f7df6ed1ab75c9ea7616656e3f9949fd4679478 /config | |
parent | d042dac6aeb013718d54c6f3ad9624ac91cd5672 (diff) | |
download | hdf5-3ffdf81de41c8a3ebf79a6c593407a8f98dd1b01.zip hdf5-3ffdf81de41c8a3ebf79a6c593407a8f98dd1b01.tar.gz hdf5-3ffdf81de41c8a3ebf79a6c593407a8f98dd1b01.tar.bz2 |
[svn-r24640] Add SUN specific block skipping.
Tested: emu
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index aba6d59..f883170 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -33,6 +33,11 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") SET (H5_HAVE_DARWIN 1) ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") +# Check for Solaris +IF(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") + SET (H5_HAVE_SOLARIS 1) +ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") + #----------------------------------------------------------------------------- # Option to Clear File Buffers before write --enable-clear-file-buffers #----------------------------------------------------------------------------- @@ -433,6 +438,7 @@ SET (LINUX_LFS 0) SET (HDF5_EXTRA_C_FLAGS) SET (HDF5_EXTRA_FLAGS) IF (NOT WINDOWS) + IF(NOT H5_HAVE_SOLARIS) # Linux Specific flags # This was originally defined as _POSIX_SOURCE which was updated to # _POSIX_C_SOURCE=199506L to expose a greater amount of POSIX @@ -474,6 +480,7 @@ IF (NOT WINDOWS) ENDIF (TEST_LFS_WORKS_COMPILE) ENDIF (HDF5_ENABLE_LARGE_FILE) SET (CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${HDF5_EXTRA_FLAGS}) + ENDIF(NOT H5_HAVE_SOLARIS) ENDIF (NOT WINDOWS) ADD_DEFINITIONS (${HDF5_EXTRA_FLAGS}) |