summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-18 11:49:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:13 -0500
commite3fd9ccd4e8d8dfcef1ef2f475de271e28b79a57 (patch)
tree01ccedbdbc5400f2542ccaea1106087170de2b33 /source4
parentb38fca6e2daa1d54edfa3aec5815d817a40ff3d3 (diff)
downloadsamba-e3fd9ccd4e8d8dfcef1ef2f475de271e28b79a57.tar.gz
samba-e3fd9ccd4e8d8dfcef1ef2f475de271e28b79a57.tar.bz2
samba-e3fd9ccd4e8d8dfcef1ef2f475de271e28b79a57.zip
r17109: - use AC_SYS_LARGEFILE so that type sizes are the same when talloc
is build standalone and inside samba - add configure checks for the some type sizes for debugging metze (This used to be commit 2977e7097ae9d6b96bb6f01c5c20bc2f3a518050)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/talloc/config.m43
-rw-r--r--source4/lib/talloc/configure.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/talloc/config.m4 b/source4/lib/talloc/config.m4
index 824eb6d1ff..ad38988e14 100644
--- a/source4/lib/talloc/config.m4
+++ b/source4/lib/talloc/config.m4
@@ -8,3 +8,6 @@ fi
AC_CHECK_TYPE(intptr_t, unsigned long long)
AC_CHECK_HEADERS(stdint.h stdarg.h unistd.h sys/types.h)
+AC_CHECK_SIZEOF(off_t,cross)
+AC_CHECK_SIZEOF(size_t,cross)
+AC_CHECK_SIZEOF(ssize_t,cross)
diff --git a/source4/lib/talloc/configure.in b/source4/lib/talloc/configure.in
index 76d7c74366..6cd620d906 100644
--- a/source4/lib/talloc/configure.in
+++ b/source4/lib/talloc/configure.in
@@ -12,5 +12,6 @@ if test -n "$XSLTPROC"; then
fi
AC_SUBST(DOC_TARGET)
AC_CONFIG_HEADER(config.h)
+AC_SYS_LARGEFILE
sinclude(config.m4)
AC_OUTPUT(Makefile talloc.pc)