]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
--enable-large-files to enable support for large files (>2GB) on 32-bit GNU libc
authorhno <>
Tue, 29 Jan 2002 00:49:24 +0000 (00:49 +0000)
committerhno <>
Tue, 29 Jan 2002 00:49:24 +0000 (00:49 +0000)
systems.

configure.in

index 89cf34ea222914f3adba56e862682415a5dac905..4b26501bc0c2d53b793cbce900308f6c5b5961d9 100644 (file)
@@ -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,