summaryrefslogtreecommitdiff
path: root/source3
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 /source3
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 'source3')
-rw-r--r--source3/configure.in2
-rw-r--r--source3/wscript1
2 files changed, 0 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index bc8afc007d..bf777a16f5 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2934,8 +2934,6 @@ if test x"$samba_cv_HAVE_STAT_ST_BLOCKS" = x"yes"; then
AC_DEFINE(HAVE_STAT_ST_BLOCKS,1,[Whether the stat struct has a st_block property])
fi
-AC_CHECK_TYPES([blksize_t, blkcnt_t], [], [], [[#include <sys/stat.h>]])
-
AC_CACHE_CHECK([for 32 bit blkcnt_t],samba_cv_SIZEOF_BLKCNT_T_4,[
AC_TRY_RUN([
#if defined(HAVE_UNISTD_H)
diff --git a/source3/wscript b/source3/wscript
index 3c8df0a076..24924cca00 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -166,7 +166,6 @@ main() {
msg="Checking for krenel share modes")
# Check for various members of the stat structure
- conf.CHECK_TYPES('blksize_t blkcnt_t')
conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_blocks', define='HAVE_STAT_ST_BLOCKS',
headers='sys/stat.h')
conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_blksize', define='HAVE_STAT_ST_BLKSIZE',