summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorstwo <stwo>2010-09-06 12:57:31 (GMT)
committerstwo <stwo>2010-09-06 12:57:31 (GMT)
commitaec4b2254493a049360d06d00e797237abab3f92 (patch)
treeda0b07ffe6eb9d201b76d0c12b6568095681ce58 /unix/configure.in
parent39c6dfa01f7a50eb3c81070a38071899fabf5ed6 (diff)
downloadtcl-aec4b2254493a049360d06d00e797237abab3f92.zip
tcl-aec4b2254493a049360d06d00e797237abab3f92.tar.gz
tcl-aec4b2254493a049360d06d00e797237abab3f92.tar.bz2
Backport blkcnt_t detection/usage.
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in
index c3d65b8..0953d51 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.180.2.17 2010/08/12 00:11:22 hobbs Exp $
+# RCS: @(#) $Id: configure.in,v 1.180.2.18 2010/09/06 12:57:34 stwo Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -245,10 +245,12 @@ SC_TIME_HANDLER
#--------------------------------------------------------------------
# Some systems (e.g., IRIX 4.0.5) lack some fields in struct stat. But
-# we might be able to use fstatfs instead.
+# we might be able to use fstatfs instead. Some systems (OpenBSD?) also
+# lack blkcnt_t.
#--------------------------------------------------------------------
AC_CHECK_MEMBERS([struct stat.st_blocks, struct stat.st_blksize])
+AC_CHECK_TYPES([blkcnt_t])
AC_CHECK_FUNC(fstatfs, , [AC_DEFINE(NO_FSTATFS, 1, [Do we have fstatfs()?])])
#--------------------------------------------------------------------