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)
commit3c5c0386e0a63f34a79ce78f5d35c48599949508 (patch)
treeda0b07ffe6eb9d201b76d0c12b6568095681ce58 /unix/configure.in
parenta3ca2c33322a3f277d3affa55344c20ea64c1605 (diff)
downloadtcl-3c5c0386e0a63f34a79ce78f5d35c48599949508.zip
tcl-3c5c0386e0a63f34a79ce78f5d35c48599949508.tar.gz
tcl-3c5c0386e0a63f34a79ce78f5d35c48599949508.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()?])])
#--------------------------------------------------------------------