>From d28d33218bad200da3781921e1a98a095660121a Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 25 Sep 2009 17:12:06 +0200 Subject: [PATCH] add defines for large file support to standard CFLAGS - this fixes a compiler warning about the redefinition of SIZEOF_OFF_T in the python bindings, because python is compiled with large file support. --- server/configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/server/configure.ac b/server/configure.ac index 03d2885..422429b 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -14,6 +14,8 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""]) AC_INIT([sss_daemon], m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']), [sssd-devel@lists.fedorahosted.org]) +CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + AC_CONFIG_SRCDIR([conf_macros.m4]) AC_CONFIG_AUX_DIR([build]) -- 1.6.2.5