summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2010-03-18 21:07:38 +0000
committerAndrei Zmievski <andrei@php.net>2010-03-18 21:07:38 +0000
commit3220f15ca2859621d3cec72514bf782633d90ff0 (patch)
treecfbf835583534fabb532cf12941e44ccd8290ddd /configure.in
parent981ba00606191c2b010ec49b7e21b8731afe86aa (diff)
downloadphp-git-3220f15ca2859621d3cec72514bf782633d90ff0.tar.gz
Fix a few problems with large (2G-4G) file uploads. Added
--enable-large-uploads-fix switch because one change was in SAPI.h structure.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index fc8e88c695..b910fcb22b 100644
--- a/configure.in
+++ b/configure.in
@@ -916,6 +916,12 @@ else
AC_MSG_RESULT([using system default])
fi
+PHP_ARG_ENABLE(large-uploads-fix, whether to enable large files (2G-4G) uploads fix,
+[ --enable-large-uploads-fix Enable large files (2G-4G) uploads fix], no, no)
+if test "$PHP_LARGE_UPLOADS_FIX" = "yes"; then
+ AC_DEFINE(HAVE_LARGE_UPLOADS_FIX, 1, [Whether to enable large files (2G-4G) uploads fix])
+fi
+
divert(5)
dnl ## In diversion 5 we check which extensions should be compiled.