From e3fd9ccd4e8d8dfcef1ef2f475de271e28b79a57 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 18 Jul 2006 11:49:43 +0000 Subject: 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) --- source4/lib/talloc/config.m4 | 3 +++ source4/lib/talloc/configure.in | 1 + 2 files changed, 4 insertions(+) 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) -- cgit