From d5c7de8650ee2e05de591f3901c2cad010b88b77 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 09:47:53 +1100 Subject: build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT --- buildtools/wafsamba/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba/wscript') diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 49d21078c4..a302280038 100755 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -362,7 +362,8 @@ def configure(conf): conf.CHECK_HEADERS('limits.h assert.h') # see if we need special largefile flags - conf.CHECK_LARGEFILE() + if not conf.CHECK_LARGEFILE(): + raise Utils.WafError('Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8') if 'HAVE_STDDEF_H' in conf.env and 'HAVE_STDLIB_H' in conf.env: conf.DEFINE('STDC_HEADERS', 1) -- cgit