]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 4 May 2008 11:53:29 +0000 (23:53 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 4 May 2008 11:53:29 +0000 (23:53 +1200)
Make --with-large-files try to build 64-bit if possible

--with-large-files for some reason tried to make a 32-bit build with
large file offsets even if the host supports 64-bit applications, making
--with-large-files degrade Squid capabilities on 64-bit OS:es..

configure.in

index 02461b65e7b5ebd43ae4e62c510ad8510d544ef0..a7942c4ef9bae818de8e978fece7c34655f8847b 100644 (file)
@@ -1165,7 +1165,7 @@ AC_ARG_WITH(build-environment,
 ])
 
 if test $needlargefiles && test -z "$buildmodel"; then
-       for model in POSIX_V6_ILP32_OFFBIG XBS5_ILP32_OFFBIG POSIX_V6_LP64_OFF64 XBS5_LP64_OFF64 POSIX_V6_LPBIG_OFFBIG XBS5_LPBIG_OFFBIG; do
+       for model in POSIX_V6_LPBIG_OFFBIG XBS5_LPBIG_OFFBIG POSIX_V6_LP64_OFF64 XBS5_LP64_OFF64 POSIX_V6_ILP32_OFFBIG XBS5_ILP32_OFFBIG; do
                if test "`getconf _$model 2>/dev/null || true`" = 1 || test "`getconf $model 2>/dev/null || true`" ; then
                        buildmodel=$model
                        break