Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-09 16:40:50 -0400
committerDan McGee <dan@archlinux.org>2007-07-09 16:40:50 -0400
commit8f2575b26ee34caddcd03464a53dc88ac539c98c (patch)
treec3365745f8735c255c707557bf08f3eca7b1a1c7
parent7d7457288734730dbb0cea3b1918c004f06db1a5 (diff)
Add AC_SYS_LARGEFILE to configure.ac
This defines _FILE_OFFSET_BITS == 64, which makes stat calls transparently use stat64, etc. This allows us to support large files, such as packages over 1 GB in size. libarchive was already correctly compiled with this macro. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9a439346..9af8273e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,6 +121,9 @@ AC_CHECK_FUNCS([getcwd gettimeofday memmove memset mkdir realpath regcomp \
rmdir setenv setlocale sqrt strcasecmp strchr strdup strerror \
strndup strrchr strstr strverscmp uname mtrace geteuid])
+# Enable large file support if available
+AC_SYS_LARGEFILE
+
# Host-dependant flags
case "${host}" in
*-*-cygwin*)