largefiles.py: improve printed messages

This commit is contained in:
Radim Kolar 2024-07-08 09:41:56 +02:00
parent 650da936ae
commit d88cb13bf7

View File

@ -2,7 +2,7 @@
# SCons Largefile enablement # SCons Largefile enablement
# #
# Version 1.4 # Version 1.4
# 07-Jul-2024 # 08-Jul-2024
# #
def enableLargeFiles(check,conf): def enableLargeFiles(check,conf):
@ -23,7 +23,7 @@ def enableLargeFiles(check,conf):
if not fseeko: if not fseeko:
# no fseeko we do not need off_t for anything # no fseeko we do not need off_t for anything
offt = 0 offt = 0
check.Message("Effective off_t size is ") check.Message("Checking for effective size of off_t ... ")
check.Result(str(offt)+" bytes") check.Result(str(offt)+" bytes")
conf.env.Append(CPPFLAGS = '-DSIZEOF_OFF_T='+str(offt)) conf.env.Append(CPPFLAGS = '-DSIZEOF_OFF_T='+str(offt))
check.Message("Checking if we have native large files ... ") check.Message("Checking if we have native large files ... ")