--- configure.in 2006-07-24 11:52:25.000000000 +0200 +++ configure.in.oden 2006-07-24 11:52:04.000000000 +0200 @@ -1072,6 +1072,25 @@ esac fi +if test "$buildmodel" = "default"; then + case "$host" in + *i?86*) + if test "$GCC" = "yes"; then + CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $CFLAGS" + + fi + ;; + *x86_64*) + if test "$GCC" = "yes"; then + CFLAGS="`echo $CFLAGS | sed -e 's/-m32/-m64/'`" + CFLAGS="`echo $CFLAGS | sed -e 's/-D_LARGEFILE_SOURCE/-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64/'`" + fi + ;; + *) + ;; + esac +fi + dnl Enable Linux transparent proxy support AC_ARG_ENABLE(linux-tproxy, [ --enable-linux-tproxy