summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-15 08:05:59 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-15 08:05:59 +0200
commit0f7720d5cbc022d864e511cc494235e82a7d49f2 (patch)
tree743f50a76f0c69e4ae833c87130774bfba4c10b7 /configure.in
parent83d237c47a64d0a21479fd9bd4bddcb2c0969e4f (diff)
downloadweechat-0f7720d5cbc022d864e511cc494235e82a7d49f2.zip
core: add missing compiler define -D_LARGEFILE64_SOURCE in cmake and -D_LARGE_FILES in autotools (fix build of script plugin on Debian Lenny)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 615d25d68..219e74646 100644
--- a/configure.in
+++ b/configure.in
@@ -852,7 +852,7 @@ fi
# large file support
# ------------------------------------------------------------------------------
if test "x$enable_largefile" = "xyes" ; then
- CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES"
else
not_asked="$not_asked largefile"
fi