summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-08-14 18:09:08 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-08-14 18:09:08 (GMT)
commit4a51e83e60336381c7bb6370ec61b97fc9194918 (patch)
tree7201d20805838ba05a16b194803e235a6898fd7a /configure
parent6155473c380ad5b436d68067100e04c8e47eb387 (diff)
downloadhdf5-4a51e83e60336381c7bb6370ec61b97fc9194918.zip
hdf5-4a51e83e60336381c7bb6370ec61b97fc9194918.tar.gz
hdf5-4a51e83e60336381c7bb6370ec61b97fc9194918.tar.bz2
[svn-r24010] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 19 insertions, 2 deletions
diff --git a/configure b/configure
index d3b0113..788af90 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Id: configure.ac 23969 2013-08-04 21:43:00Z hdftest .
+# From configure.ac Id: configure.ac 23990 2013-08-11 21:48:09Z hdftest .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for HDF5 1.8.12-snap15.
#
@@ -26959,7 +26959,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
## ----------------------------------------------------------------------
## How do we figure out the width of a tty in characters?
##
-for ac_func in _getvideoconfig gettextinfo GetConsoleScreenBufferInfo
+for ac_func in _getvideoconfig gettextinfo
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -26971,6 +26971,23 @@ _ACEOF
fi
done
+case "`uname`" in
+ CYGWIN*)
+ ;;
+ *)
+ for ac_func in GetConsoleScreenBufferInfo
+do :
+ ac_fn_c_check_func "$LINENO" "GetConsoleScreenBufferInfo" "ac_cv_func_GetConsoleScreenBufferInfo"
+if test "x$ac_cv_func_GetConsoleScreenBufferInfo" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_GETCONSOLESCREENBUFFERINFO 1
+_ACEOF
+
+fi
+done
+
+ ;;
+esac
for ac_func in _scrsize ioctl
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`