Hi, I think it's better to use AC macro for this stuff. What we need, is to switch to 2.5 autoconf and add to configure.in:
dnl Check for how to do large files AC_SYS_LARGEFILE(CFLAGS) if test ${ac_cv_sys_file_offset_bits} != no ; then CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}" fi if test ${ac_cv_sys_large_files} != "no" ; then CFLAGS="$CFLAGS -D_LARGE_FILES=${ac_cv_sys_large_files}" fi Thanks, Alex Stipe Tolj wrote: > Hi list, > > now, I'm not aware how latest distros handle the file size problem for the > 2 GB barrier, but some of us who run production systems experience a > "cabum... it stopped" effect when Kannel log files hit the barrier. > > Maybe we should do apply the CFLAGS value as default for linux? Attached > patch does this very simply. > > Comments and votes please. :) > > Stipe > > ------------------------------------------------------------------- > Kölner Landstrasse 419 > 40589 Düsseldorf, NRW, Germany > > tolj.org system architecture Kannel Software Foundation (KSF) > http://www.tolj.org/ http://www.kannel.org/ > > mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org > ------------------------------------------------------------------- -- Thanks, Alex