[HACKERS] Detecting large-file support in configure

2008-03-10 Thread Tom Lane
I'm reviewing this patch http://archives.postgresql.org/pgsql-patches/2007-04/msg00531.php which contains this configure.in code to decide if it's safe to allow use of non-segmented files: if test $ac_cv_func_fseeko = yes; then AC_SYS_LARGEFILE fi + if test $ac_cv_sys_large_files = no -o

Re: [HACKERS] Detecting large-file support in configure

2008-03-10 Thread Peter Eisentraut
Am Montag, 10. März 2008 schrieb Tom Lane: A quick look at the configure script suggests that the available macros don't really set anything that specifically tells you if they found working largefile support.  I'm considering doing AC_CHECK_SIZEOF(off_t) and then looking at the result That