summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 09:47:53 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commitd5c7de8650ee2e05de591f3901c2cad010b88b77 (patch)
tree6d941f6890de1195e69e7495fd35ed5cefaa7c2d /buildtools
parentc03398ec0f499eef8981274019cc7b4db09415c2 (diff)
downloadsamba-d5c7de8650ee2e05de591f3901c2cad010b88b77.tar.gz
samba-d5c7de8650ee2e05de591f3901c2cad010b88b77.tar.bz2
samba-d5c7de8650ee2e05de591f3901c2cad010b88b77.zip
build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT
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)