]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make --with-large-files try to build 64-bit if possible
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 3 May 2008 10:12:12 +0000 (12:12 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 3 May 2008 10:12:12 +0000 (12:12 +0200)
--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 d4db64995600a0d8c5c282dc40577d4406f79ed3..5ed54c90e09192c026662dd48aa346f41933c96b 100644 (file)
@@ -1270,7 +1270,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