diff --git a/configure b/configure index d4b1134f3a..70e18ea7d5 100755 --- a/configure +++ b/configure @@ -11471,9 +11471,12 @@ fi done +# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos +# We override the previous test that said fseeko/ftello didn't exist case $host_os in bsdi*) ac_cv_func_fseeko=yes esac + echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_source+set}" = set; then diff --git a/configure.in b/configure.in index 1fd159c36b..1ca21844c5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.212 2002/10/23 20:56:24 momjian Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.213 2002/10/23 20:59:03 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -903,9 +903,12 @@ AC_CHECK_FUNCS(atexit, [], [AC_CHECK_FUNCS(on_exit, [], [AC_MSG_ERROR([neither atexit() nor on_exit() found])])]) +# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos +# We override the previous test that said fseeko/ftello didn't exist case $host_os in bsdi*) ac_cv_func_fseeko=yes esac + AC_FUNC_FSEEKO