summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-04-09 15:31:23 -0700
committerJeremy Allison <jra@samba.org>2012-04-10 04:07:11 +0200
commitd425a4cd3dded853aaefbca8873c95845933d383 (patch)
treee56ecaface7633a8ef90b0855302023a6d5dfc30 /lib/replace/wscript
parent800a9d8bc3d6805dd297e65c8d32efc74a1329b3 (diff)
downloadsamba-d425a4cd3dded853aaefbca8873c95845933d383.tar.gz
samba-d425a4cd3dded853aaefbca8873c95845933d383.tar.bz2
samba-d425a4cd3dded853aaefbca8873c95845933d383.zip
On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into libreplace to make it standalone.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 025dda460d..d7b0634f3f 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -91,6 +91,8 @@ def configure(conf):
conf.CHECK_TYPE('offset_t', 'loff_t')
conf.CHECK_TYPE('volatile int', define='HAVE_VOLATILE')
conf.CHECK_TYPE('uint_t', 'unsigned int')
+ conf.CHECK_TYPE('blksize_t', 'long', headers='sys/types.h sys/stat.h unistd.h')
+ conf.CHECK_TYPE('blkcnt_t', 'long', headers='sys/types.h sys/stat.h unistd.h')
conf.CHECK_SIZEOF('bool char int "long long" long short size_t ssize_t')
conf.CHECK_SIZEOF('int8_t uint8_t int16_t uint16_t int32_t uint32_t int64_t uint64_t')