summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-09-25 17:12:06 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-09-25 12:58:47 -0400
commit9867caa2b9d0cdf5b9e26d1e72632c2b74522836 (patch)
tree4fbc0dc59bccfa06c9d224f74359a40cdee05c35
parent039ccb42e498a92f877a3e91cada515ce08926fb (diff)
downloadsssd-9867caa2b9d0cdf5b9e26d1e72632c2b74522836.tar.gz
sssd-9867caa2b9d0cdf5b9e26d1e72632c2b74522836.tar.bz2
sssd-9867caa2b9d0cdf5b9e26d1e72632c2b74522836.zip
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.
-rw-r--r--server/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/configure.ac b/server/configure.ac
index 31dd87d8..580dda34 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])