summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/wafsamba/wscript3
1 files changed, 2 insertions, 1 deletions
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)