summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-08-13 19:01:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-08-13 19:01:21 (GMT)
commitaf92c5f1e02e8f2df8dafd257251c1c967b3be34 (patch)
tree0db133db29616a76bd7d3a76066fe4e7bf4d0d58 /config/cmake
parent33d5f5d1e8f66b9ed6112744c03d546e95fb3022 (diff)
downloadhdf5-af92c5f1e02e8f2df8dafd257251c1c967b3be34.zip
hdf5-af92c5f1e02e8f2df8dafd257251c1c967b3be34.tar.gz
hdf5-af92c5f1e02e8f2df8dafd257251c1c967b3be34.tar.bz2
[svn-r24005] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive).
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index d4b23eb..b467a15 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -612,7 +612,9 @@ 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)
+ IF (NOT CYGWIN AND NOT MINGW)
+ CHECK_FUNCTION_EXISTS (GetConsoleScreenBufferInfo H5_HAVE_GETCONSOLESCREENBUFFERINFO)
+ ENDIF (NOT CYGWIN AND NOT MINGW)
CHECK_SYMBOL_EXISTS (TIOCGWINSZ "sys/ioctl.h" H5_HAVE_TIOCGWINSZ)
CHECK_SYMBOL_EXISTS (TIOCGETD "sys/ioctl.h" H5_HAVE_TIOCGETD)
ENDIF (NOT WINDOWS)