From bb7b5fd074f59249ffe65adc39e11142c44aa942 Mon Sep 17 00:00:00 2001 From: hno <> Date: Tue, 29 Jan 2002 00:49:24 +0000 Subject: [PATCH] --enable-large-files to enable support for large files (>2GB) on 32-bit GNU libc systems. --- configure.in | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 89cf34ea22..4b26501bc0 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ dnl Configuration input file for Squid dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.256 2002/01/01 09:47:47 adrian Exp $ +dnl $Id: configure.in,v 1.257 2002/01/28 17:49:24 hno Exp $ dnl dnl dnl @@ -11,7 +11,7 @@ AC_INIT(src/main.c) AC_CONFIG_AUX_DIR(cfgaux) AM_INIT_AUTOMAKE(squid, 2.6-DEVEL) AM_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.256 $)dnl +AC_REVISION($Revision: 1.257 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AM_MAINTAINER_MODE @@ -749,6 +749,16 @@ AC_ARG_ENABLE(linux-netfilter, fi ]) +dnl Enable Large file support +AC_ARG_ENABLE(large-files, +[ --enable-large-files Enable support for large files (>2GB). Still + experimental.], +[ if test "$enableval" = "yes" ; then + echo "Large file support enabled" + CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64" + fi +]) + AM_CONDITIONAL(MAKE_LEAKFINDER, false) dnl Enable Leak Finding Functions AC_ARG_ENABLE(leakfinder, -- 2.47.3