changeset 576:fa29eb5865e7 HEAD

Print the size of off_t at end.
author Timo Sirainen <tss@iki.fi>
date Mon, 04 Nov 2002 08:11:27 +0200
parents ba6f89be8237
children 056f4d135e4c
files configure.in
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon Nov 04 08:00:42 2002 +0200
+++ b/configure.in	Mon Nov 04 08:11:27 2002 +0200
@@ -206,10 +206,10 @@
   sizeof_off_t=`cat conftestval`
   rm -f conftestval
 ], [
-  sizeof_off_t=0
   AC_ERROR([Unsupported off_t size])
 ])
 AC_MSG_RESULT($sizeof_off_t)
+offt_bits=`expr 8 \* $sizeof_off_t`
 
 if test x$sizeof_off_t = x$ac_cv_sizeof_long; then
   # try to use unsigned long always first
@@ -529,6 +529,7 @@
 
 echo
 echo "Install prefix ............. : $prefix"
+echo "File offsets ............... : ${offt_bits}bit"
 echo "Building with auth modules . :$auths"
 echo "Building with SSL support .. : $have_ssl"
 echo "Building with IPv6 support . : $want_ipv6"