summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-02-16 16:01:32 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-02-16 16:01:32 (GMT)
commitc0764272261c0f8e727f1c2a5e1d1acff40454f3 (patch)
treef87e69815fc9cbbdae4123c2ed8a23e6d5e4a890 /unix/configure.in
parent85d00a55b79e0beebaf4875584cf7391abd05392 (diff)
downloadtcl-c0764272261c0f8e727f1c2a5e1d1acff40454f3.zip
tcl-c0764272261c0f8e727f1c2a5e1d1acff40454f3.tar.gz
tcl-c0764272261c0f8e727f1c2a5e1d1acff40454f3.tar.bz2
Do not assume that all unix systems have the POSIX blkcnt_t type, since OpenBSD
apparently does not.
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 17e35ed..d2b62a2 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.209 2009/12/28 12:55:48 dkf Exp $
+# RCS: @(#) $Id: configure.in,v 1.210 2010/02/16 16:01:33 dkf Exp $
AC_INIT([tcl],[8.6])
AC_PREREQ(2.59)
@@ -279,10 +279,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()?])])
#--------------------------------------------------------------------