summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-01-21 21:37:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-01-21 21:37:52 (GMT)
commit25b90a558c1cd42dff4e8f65f7d0769f47d823ff (patch)
treefab672d0dc2739566639d80d35bda3cc149121f5
parent4a428e25b8c938e2ddac02a063adbe439186349b (diff)
downloadhdf5-25b90a558c1cd42dff4e8f65f7d0769f47d823ff.zip
hdf5-25b90a558c1cd42dff4e8f65f7d0769f47d823ff.tar.gz
hdf5-25b90a558c1cd42dff4e8f65f7d0769f47d823ff.tar.bz2
[svn-r24639] Add SUN specific block skipping.
-rw-r--r--config/cmake/ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 769483e..48bff74 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})