diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-06-06 22:11:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-06-06 22:11:07 (GMT) |
commit | a6d41f7a75a8f16e6e0efbcf5efc428299c85483 (patch) | |
tree | a7ff7913e67d1d485331c6399c9018128ea2849d /config/cmake/ConfigureChecks.cmake | |
parent | a11a6d9b34f9317a28e62282dae20a745a845bff (diff) | |
download | hdf5-a6d41f7a75a8f16e6e0efbcf5efc428299c85483.zip hdf5-a6d41f7a75a8f16e6e0efbcf5efc428299c85483.tar.gz hdf5-a6d41f7a75a8f16e6e0efbcf5efc428299c85483.tar.bz2 |
[svn-r22441] Move some tests into NOT WINDOWS blocks
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index 60ba6a7..4a2daf2 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -554,23 +554,21 @@ IF (NOT H5_SIZEOF_OFF64_T) SET (H5_SIZEOF_OFF64_T 0) ENDIF (NOT H5_SIZEOF_OFF64_T) -#----------------------------------------------------------------------------- -# Check if the dev_t type is a scalar type -#----------------------------------------------------------------------------- IF (NOT WINDOWS) + #----------------------------------------------------------------------------- + # Check if the dev_t type is a scalar type + #----------------------------------------------------------------------------- HDF5_FUNCTION_TEST (DEV_T_IS_SCALAR) -ENDIF (NOT WINDOWS) - -# ---------------------------------------------------------------------- -# Check for MONOTONIC_TIMER support (used in clock_gettime). This has -# to be done after any POSIX/BSD defines to ensure that the test gets -# the correct POSIX level on linux. -CHECK_VARIABLE_EXISTS (CLOCK_MONOTONIC HAVE_CLOCK_MONOTONIC) -#----------------------------------------------------------------------------- -# Check a bunch of time functions -#----------------------------------------------------------------------------- -IF (NOT WINDOWS) + # ---------------------------------------------------------------------- + # Check for MONOTONIC_TIMER support (used in clock_gettime). This has + # to be done after any POSIX/BSD defines to ensure that the test gets + # the correct POSIX level on linux. + CHECK_VARIABLE_EXISTS (CLOCK_MONOTONIC HAVE_CLOCK_MONOTONIC) + + #----------------------------------------------------------------------------- + # Check a bunch of time functions + #----------------------------------------------------------------------------- FOREACH (test HAVE_TM_GMTOFF HAVE___TM_GMTOFF @@ -587,25 +585,24 @@ IF (NOT WINDOWS) HDF5_FUNCTION_TEST (HAVE_TIMEZONE) # HDF5_FUNCTION_TEST (HAVE_STAT_ST_BLOCKS) ENDIF (NOT CYGWIN AND NOT MINGW) -ENDIF (NOT WINDOWS) -# ---------------------------------------------------------------------- -# Does the struct stat have the st_blocks field? This field is not Posix. -# -IF (NOT WINDOWS) + # ---------------------------------------------------------------------- + # Does the struct stat have the st_blocks field? This field is not Posix. + # HDF5_FUNCTION_TEST (HAVE_STAT_ST_BLOCKS) + ENDIF (NOT WINDOWS) # ---------------------------------------------------------------------- # How do we figure out the width of a tty in characters? # -CHECK_FUNCTION_EXISTS (_getvideoconfig H5_HAVE__GETVIDEOCONFIG) -CHECK_FUNCTION_EXISTS (gettextinfo H5_HAVE_GETTEXTINFO) -CHECK_FUNCTION_EXISTS (_scrsize H5_HAVE__SCRSIZE) CHECK_FUNCTION_EXISTS (ioctl H5_HAVE_IOCTL) HDF5_FUNCTION_TEST (HAVE_STRUCT_VIDEOCONFIG) HDF5_FUNCTION_TEST (HAVE_STRUCT_TEXT_INFO) IF (NOT WINDOWS) + CHECK_FUNCTION_EXISTS (_getvideoconfig H5_HAVE__GETVIDEOCONFIG) + CHECK_FUNCTION_EXISTS (gettextinfo H5_HAVE_GETTEXTINFO) + CHECK_FUNCTION_EXISTS (_scrsize H5_HAVE__SCRSIZE) CHECK_FUNCTION_EXISTS (GetConsoleScreenBufferInfo H5_HAVE_GETCONSOLESCREENBUFFERINFO) CHECK_SYMBOL_EXISTS (TIOCGWINSZ "sys/ioctl.h" H5_HAVE_TIOCGWINSZ) CHECK_SYMBOL_EXISTS (TIOCGETD "sys/ioctl.h" H5_HAVE_TIOCGETD) |